Forum Discussion
Aggregation - New Table or Measure
- 7 years ago
Create this new measure and add it on Values area in the graph:
% Share = VAR Volume = SUM('Table'[Sales]) VAR AllVolume = CALCULATE ( SUM('Table'[Sales]),ALL('Table'[Manufacturer]) ) RETURN DIVIDE ( Volume, AllVolume )
You actually dont need either of these 2.
Simply drag a new line chart to the page and put Week as Axis, Manufacturer as Legend and Sales as Values.
See image below.
Workspace also on this link
- depple7 years agoHelper III
themistoklis,
Thank you for your quick suggestion!
That was an easy solution. I am obviously not familiar with the capabilities the software.
And now, trying to display the manufacturer market share per week, I do however notice that "Show value as" => "Percentage of Total" (my translation from non-English version) is not showing up the way I would hope, but that is probably because is shows market share for all data points, instead of per week. Could you point me in the right direction for how to display per week market share? Would this be the time for a measure or new table?
Thanks in advance.
/depple
- themistoklis7 years agoCommunity Champion
Create this new measure and add it on Values area in the graph:
% Share = VAR Volume = SUM('Table'[Sales]) VAR AllVolume = CALCULATE ( SUM('Table'[Sales]),ALL('Table'[Manufacturer]) ) RETURN DIVIDE ( Volume, AllVolume )- depple7 years agoHelper III
themistoklis,
Worked perfectly! Thank you very much. I shall keep your formula within close reach for future challenges. :-)
/depple