The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Dear Community,
I dont understand why the average doesnt work when I use filter: For example: if I choose a sell team I get the right percentage of sells but if I choose 2 sells team I dont get the right avarege between those two.
Any Advice?????
In the first picture The 76.62% should be 79,44% considering those two sells team (101-104)
Solved! Go to Solution.
It’s most likely due to the way Power BI filters first, then calculates. Eg
team A has 3 records
5,6,7 = avg of 6
team B has 6 records
10,12,10,20,18,20 = avg 15
avg across both teams = 10.5
but Power BI will add the total (108) divided by 9 = 12
you can solve it with averagex
=AVERAGEX(values(table[team]),[your measure]]
It’s most likely due to the way Power BI filters first, then calculates. Eg
team A has 3 records
5,6,7 = avg of 6
team B has 6 records
10,12,10,20,18,20 = avg 15
avg across both teams = 10.5
but Power BI will add the total (108) divided by 9 = 12
you can solve it with averagex
=AVERAGEX(values(table[team]),[your measure]]
User | Count |
---|---|
70 | |
67 | |
62 | |
48 | |
28 |
User | Count |
---|---|
113 | |
78 | |
64 | |
55 | |
43 |