Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I am creating a dashboard that shows the total average score for each student
This is done by calculating the total "Score" and dividing it by the amount of "ClassCodes" per "Student or StudentID"
Currently I have a measure that does the total score divided by Classcode but cant figure out how to add "By Student ID"
This is the correct result when i apply a visual level filter to my current measure
This is my current measure
If possible i would like to add "Student ID" to this as anything i try doesnt filter to the student
Any help is appreciated
Thanks
If you start creating models according to Best Practices, you won't have such issues. Please read this: Understand star schema and the importance for Power BI - Power BI | Microsoft Docs
AND FOLLOW IT ALWAYS TO THE LETTER if you want to keep your sanity and be able to understand what your DAX is doing. Also, this will make your work understandable to others.
Hey,
Can you please show sample data for your datasets and its relationship.
Also it would be great if you could show the current status value and expected value with some dummy numbers from sample dataset.
That might help us in better understanding the use case
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
19 | |
13 | |
7 | |
5 |