I am creating a PivotViewer application to show sales history of store branches for a retail businesses.
We are creating dynamic collections from an sql database when the application is opened. The sql query groups the sales amounts by month.
The pivotViewer applications shows each branch and its related sales history amount. however because the sales amount is grouped by month we are getting 12 different images of the store in the results field. This makes the results meaningless.
For example if a user selects the Chadstone store and the sales history for Jan, Feb and March the results field shows 3 different images. Instead we would like it to show 1 result with the figures for each month summed by the year.
I have done some research and it seems Pivot Viewer only reads the lines from the collection and cannot complete any calculations.
Does anyone know if this is true or how it can be resolved?
Thanks