Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I have been asked to plot student grades across labs as a line chart. There will also be a minimum, maximum, and average grade line that I have created as measures, and a slicer that can filter students which appear on the visualisation. However when a subject on the slicer is selected the min, max, and avg lines are also altered by the slicer. Is there a way around this? I have tried using the ALL() function, but had no such luck. Thanks.
Solved! Go to Solution.
Hi @3186564,
The all() could work like this:
min = calculate(min('table'[grade]), all('table'[subject]))
Could you please post your formulas here?
Best Regards!
Dale
Hi,
I have been asked to plot student grades across labs as a line chart. There will also be a minimum, maximum, and average grade line that I have created as measures, and a slicer that can filter students which appear on the visualisation. However when a subject on the slicer is selected the min, max, and avg lines are also altered by the slicer. Is there a way around this? I have tried using the ALL() function, but had no such luck. Thanks.
Hi @3186564,
The all() could work like this:
min = calculate(min('table'[grade]), all('table'[subject]))
Could you please post your formulas here?
Best Regards!
Dale
Thanks Dale,
Not sure what I was doing wrong before, but this seems to work,
cheers.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
42 | |
30 | |
27 | |
26 |