Hi
I'm using pivot table, and I need use a calculated measure.
I'm implemented with CalculatedMeasureViewModel, like example: http://ko.infragistics.com/help/topic/34854EEA-2767-4DB9-901F-C9208D832836
But using calculated measure, no measures was shown, but, when removed manually, the "normals" measures turn visible.
Anybody have a complete example?
My Example is in attached.
Find for "// HERE THE CALCULATED MEASURE, WITH A SIMPLE EXPRESSION"
Thanks
Hi Cassio,
As I can see in your example you are using FlatDataSource. In the topic, you mentioned in your post, is written that Calculated Measures feature works only with XMLA data source.
Thanks,
M.Yovchev
Hi Yovchev.
Exists some way to reproduce calculated measure with FlatDataSource?
Currently, I calculate in the server side, and send the calculated answer to Pivot Grid.
But, my problem is expressions like percents (Item/Total*100). The total cells presents the sum, and not the percent.
Cássio Almeron
Can you please look at this forum post: http://ko.infragistics.com/community/forums/t/81244.aspx
Here is posted a solution that creates a percentage measure aggregator called "CompoundMeasuresSample.zip". If this is not helpful for you can you please attached a picture of what you are trying to achieve.