Forum Discussion
Switch or If Function
- 1 year ago
The D_Index_Forum and the Seasonal Demand Index.
And the classification (your original request) do you do it on the sum of the values on the Seasonal Demand Index?
Instead of letting PowerBI to sum the values, please create a simple measure like this:
Total Demand Index = CALCULATE (SUM([Seasonal Demand Index])) - 1 year ago
You can do it either via a calculated column or a table to Legend.
Since this is a different topic I suggest you close this thread and do some digging first.
These may help:
- https://community.fabric.microsoft.com/t5/Desktop/How-can-I-plot-my-DAX-measure-as-a-legend-as-well-as-values/m-p/2423682#M867725- https://www.reddit.com/r/PowerBI/comments/13gpo7m/is_there_a_way_to_use_a_measure_as_legend_on_a/
- https://community.fabric.microsoft.com/t5/Desktop/Use-measure-as-chart-legend/m-p/1237315#M547738
Hope it helps.
Could you please creenshot the actual column in the table? Also, how do you Sum the D_Index_Forum values, do you have a measure or you let PowerBI to do it?
Thank you, I let PowerBi do the sum. Any specific column for screen capture? I have tons of columns.
- MNedix1 year agoSolution Sage
The D_Index_Forum and the Seasonal Demand Index.
And the classification (your original request) do you do it on the sum of the values on the Seasonal Demand Index?
Instead of letting PowerBI to sum the values, please create a simple measure like this:
Total Demand Index = CALCULATE (SUM([Seasonal Demand Index])) - reyesdjr1 year agoFrequent Visitor
Thank you, I created a measure for both seasonal demand index and demand classification and it worked. Question though, since its a measure, I cant add it as a legend using a clustered chart?
- MNedix1 year agoSolution Sage
You can't add a measure to Legend.
What do you want to add? Which value or information?
- reyesdjr1 year agoFrequent Visitor
I want to add demand classification as the legend.
- MNedix1 year agoSolution Sage
You can do it either via a calculated column or a table to Legend.
Since this is a different topic I suggest you close this thread and do some digging first.
These may help:
- https://community.fabric.microsoft.com/t5/Desktop/How-can-I-plot-my-DAX-measure-as-a-legend-as-well-as-values/m-p/2423682#M867725- https://www.reddit.com/r/PowerBI/comments/13gpo7m/is_there_a_way_to_use_a_measure_as_legend_on_a/
- https://community.fabric.microsoft.com/t5/Desktop/Use-measure-as-chart-legend/m-p/1237315#M547738
Hope it helps.