Forum Discussion
New table with measures values
- 9 years ago
Hi lcd,
It is the expected behavior.
Not like measures, calculate columns/tables(like your myMeasureTable) are computed during database processing(e.g. data refresh) and then stored in the model, they do not response to user selections on the report(like a Slicer).
So it is not possible to create a calculate table which can change dynamically with user selections on the report. :smileyhappy:
Regards
Thanks v-ljerr-msft, I understand. I thought this kind of tables were like measures. I will look for other solution.
Regards
Hello lcd,
I don't know if you still haven't found a solution for this topic, but here is what I've done.
1) Created a disconected table with the categories I wanted to show in my waterfall chart;
2) Created a measure using SWITCH to display the wanted value for each category;
WATERFALL VAR =
SWITCH(MAX(p_gross_margin_variances[id_var_factor]);
1;[BL05BT-GROSS MARGIN];
2;[BL03VR-PRICE VAR];
3;[BL04VR-COST VAR];
4;[BL05VR-GROSS MARGIN VAR];
5;[BL03VR-VOLUME VAR];
6;[BL03VR-MIX VAR];
7;[BL03VR-MIX AND VOL VAR];
8;[BL05AC-GROSS MARGIN];
BLANK())
3) Put the categories and values in their respective fields and voilá:
The only thing is that you'll have to consider the Total bar as the Actual Value since it's not possible to change the bar name.
To do that you can use the Ultimate Waterfall from dataviz.
Hope it helped!
Regards
- pforrer76 years agoFrequent Visitor
Thank you rbaleche your solution helped me a lot!
I created multiple SWITCH measures so I could make a matrix with different measures on each cell.
- bender9852 years agoNew Member
Hi, can you explain in detail how to do it?
- shoebhakeem1237 years agoFrequent Visitor
This is awesome, except that I get the last value as the total amount. Was wondering where am I going wrong.