Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I would like to use the stacked area chart which shows % of documents per category per month.
I use the following fields
The issue I have is that the chart presents each channel as % of the grand total of all months, whereas I want each month to add up to 100%. See below the table to understand the difference:
So I would like to have the chart show number of documents per channel as a % but they should add to 100% per month rather than 100% per all months. As you can see below, the chart doesn't add up to 100% per month at the moment.
I'm not sure if this is possible to do. Please let me know if you have a solution.
Thanks in advance for your help.
Solved! Go to Solution.
Hi @Aleksis
For this you need to create a metric that does the calculation for those specifi group try something similar to:
Metrics % = DIVIDE ( COUNT(Table[DocNR]), CALCULATE(COUNT(Table[DocNR]), ALL(Table[Channel]))
If you want to have the chart based on the selected channels replace the formula to:
Metrics % = DIVIDE ( COUNT(Table[DocNR]), CALCULATE(COUNT(Table[DocNR]), ALLSELECTED(Table[Channel]))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Aleksis
For this you need to create a metric that does the calculation for those specifi group try something similar to:
Metrics % = DIVIDE ( COUNT(Table[DocNR]), CALCULATE(COUNT(Table[DocNR]), ALL(Table[Channel]))
If you want to have the chart based on the selected channels replace the formula to:
Metrics % = DIVIDE ( COUNT(Table[DocNR]), CALCULATE(COUNT(Table[DocNR]), ALLSELECTED(Table[Channel]))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
146 | |
110 | |
107 | |
86 | |
63 |