Hi,
I'm using CDE to design a dashboard following these steps:
1) Create a new dashboard and save it2) Add a new row (R1) to the dashboard
3) Create a datasource (QRY):
4) Add CCC Bar Chart
5) Set the Bar Chart Datasource to QRY
6) Set the HTML object to R1
When I run the preview this is the result:
bar.jpg:
I expected to see year 2004, 2005 on the rows according this query output:
qry.JPG
Is there some additional attribute/property to be set?
Thanks!
I'm using CDE to design a dashboard following these steps:
1) Create a new dashboard and save it2) Add a new row (R1) to the dashboard
3) Create a datasource (QRY):
Code:
SELECT
PRODUCTS.PRODUCTLINE,
ORDERFACT.YEAR_ID,
SUM(ORDERFACT.TOTALPRICE)
FROM PRODUCTS INNER JOIN ORDERFACT ON PRODUCTS.PRODUCTCODE = ORDERFACT.PRODUCTCODE
WHERE ORDERFACT.YEAR_ID > 2003
GROUP BY
ORDERFACT.YEAR_ID,
PRODUCTS.PRODUCTLINE
ORDER BY
ORDERFACT.YEAR_ID ASC,
PRODUCTS.PRODUCTLINE ASC
5) Set the Bar Chart Datasource to QRY
6) Set the HTML object to R1
When I run the preview this is the result:
bar.jpg:
I expected to see year 2004, 2005 on the rows according this query output:
qry.JPG
Is there some additional attribute/property to be set?
Thanks!