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 am trying to create a ribbon chart that shows a change in population as time increases. My Ribbon chart currently displays a count of the population by a value on the x-axis (time groupings (e.g. less than 30 mins, 30mins-1hour etc.), and is split by a priority order (1-5).
This leaves me with 5 ribbons moving across horizontally. However, one of the priority buckets has a higher population and therefore appears higher at time intervals when it proportionally isn't.
What I want to do is something like:
COUNTA(POPULATION) [grouped by priority and time block (done via chart at present)]
DIVIDED
COUNT OF PRIORITY
This would mean I would have 485 display as 485/COUNT(Population for priority 3)
Solved! Go to Solution.
@Anonymous ,
You may refer to the following post.
https://community.powerbi.com/t5/Desktop/Percentages-to-multi-line-report/m-p/378504#M172040
@Anonymous ,
You may refer to the following post.
https://community.powerbi.com/t5/Desktop/Percentages-to-multi-line-report/m-p/378504#M172040
Thanks that post helped me fix it. Using the formula in the post I got this:
Measure = DIVIDE( SUM('Generic ED Data'[POPULATION]), CALCULATE(SUM('Generic ED Data'[POPULATION]),ALLSELECTED('Generic ED Data','Generic ED Data'[Priority])))
However, this created a stacked column chart, which, whilst useful isn't exactly what I wanted.
I then used the following formula:
Measure 2= DIVIDE( SUM('Generic ED Data'[POPULATION]), CALCULATE(SUM('Generic ED Data'[POPULATION]),ALLEXCEPT('Generic ED Data','Generic ED Data'[Priority])))
which got me the result I wanted. Using ALLEXCEPT on timing showed which priority group had the most people leaving. The other method just showed a % for each axis point as well. Which is useful if I want to see which proportion of the priority group left for each time.
Covering 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 |
---|---|
105 | |
97 | |
80 | |
67 | |
63 |
User | Count |
---|---|
146 | |
110 | |
107 | |
86 | |
63 |