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 team,
I have already calculated rank on the fly, unfortunately, I couldn’t able to find the average of the data for rank =1
I wanted to group by section and find average of value for rank =1
please seee attached screenshot with highlighted :
For the chosen participant from the slicer the average should be 7 instead of 6.
But I am getting average as 6..
I would really appreciate if you could help me on this..
I have used this measure:
Average Value =
CALCULATE (
AVERAGE ( Query2[Value] ),
FILTER ( VALUES ( Query2[Participant] ), [Rank] = 1 )
)
Thanks
Hi @Anonymous,
Not sure if the Rank is a column or a measure. You can try measure below:
Avg = CALCULATE(AVERAGE(Table2[Value]),FILTER(ALLSELECTED('Table2'),'Table2'[Rank]=1))
Best Regards,
Qiuyun Yu
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 |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |