turnover_budget.jsp 729 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<%@ page session="true" contentType="text/html; charset=ISO-8859-1" %>
<%@ taglib uri="http://www.tonbeller.com/jpivot" prefix="jp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

<%-- uses mysql --%>
<jp:mondrianQuery id="query01" jdbcDriver="net.sourceforge.jtds.jdbc.Driver" jdbcUrl="jdbc:jtds:sqlserver://myhr-app;DatabaseName=Honda_Leasing_myHR1;user=myhradmin;password=systemadmin" catalogUri="/WEB-INF/queries/myHR.xml">



select Crossjoin({[bu2_e.bu2].[all bu2]}, {[Measures].[employee], [Measures].[resign], [Measures].[percentage]}) ON COLUMNS,
  {[time.year1].Children} ON ROWS
from [turnover_budget]

</jp:mondrianQuery>

<c:set var="title01" scope="session">myHR...Turn Over by Royal year</c:set>