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.
HI all,
I'm currently looking to calculate the average of a measure, specific to each category to create cards as below.
I have easily created these values by doing the calculations in excel, with the following formulas (in spoiler)
'Outcome' Void/Canx Count =(COUNTIFS('Pols Outcome'![Canx/Void Col],"Void",'Pols Outcome'![Category Col],$A2)+COUNTIFS('Pols Outcome'![Canx/Void Col],"Canx",'Pols Outcome'![Category Col],$A2))
'Pols Incept' Incept Count =SUMIF('Pols Incept'![Category Col],$A2,'Pols Incept'![NoIncepted Col])
Therefore to get an average of each Cat, I could divide the two against each other, or written in longer form, do the following.
Cat. Avg. ADV % =(COUNTIFS('Pols Outcome'![Canx/Void Col],"Void",'Pols Outcome'![Category Col],$A2)+COUNTIFS('Pols Outcome'![Canx/Void Col],"Canx",'Pols Outcome'![Category Col],$A2))/SUMIF('Pols Incept'![Category Col],$A2,'Pols Incept'![NoIncepted Col]).
I've tried to re-create similar in PBI, however I'm unable to take the average of the measure I've created, which is ADV%
Solved! Go to Solution.
This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149
@Anonymous ,
This should help you : https://community.powerbi.com/t5/Desktop/Percentage-of-subtotal/td-p/95390
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 |
---|---|
115 | |
99 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |