Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I have a dataset of student performance data with test results, student id and various demographic details. I have created a 'profile' page for each student containing demographic data as well as the test result data - this is obtained using the drill-through option. What I'm interested in showing is a gauge with the student's test result compared to the maximum mark achieved by any student in the dataset (this would be the max value of the gauge). To do this I created a measure as follows:
The problem is that every time I open the student profile page using the drill-through method, the maximum value is always the same as the student's test score (so the gauge is always full). Is my measure defined incorrectly, or is there something else that I am not doing right?
Thank you,
Solved! Go to Solution.
hi @Anonymous
You may need to use this measure
Maximum Student Score = CALCULATE(MAX('Student Data'[FINAL_MARKS]), ALL('Student Data'))
or
Maximum Student Score = CALCULATE(MAX('Student Data'[FINAL_MARKS]), ALLEXCEPT('Student Data', 'Student Data'[ID]))
Regards,
Lin
hi @Anonymous
You may need to use this measure
Maximum Student Score = CALCULATE(MAX('Student Data'[FINAL_MARKS]), ALL('Student Data'))
or
Maximum Student Score = CALCULATE(MAX('Student Data'[FINAL_MARKS]), ALLEXCEPT('Student Data', 'Student Data'[ID]))
Regards,
Lin
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
76 | |
61 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
51 | |
42 | |
40 |