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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi everyone,
I am relatively new with DAX / Power BI and I am currently facing a problem with Filters (I think!) for creating an Upper Control Limit (UCL).
Here is the "draft" formula:
UCL = SUM(CANCELLED[cancelled])/(SUM(CANCELLED[cancelled])+SUM(CANCELLED[resulted]))+(3*SQRT(SUM(CANCELLED[cancelled])+SUM(CANCELLED[resulted])/CALCULATE(SUM(CANCELLED[cancelled]),'calendar'[calendar_date])))
And here is the kind of result I should get:
Now for working properly I need to apply some Filter Functions into the Formula without withdraw filters (Site and Department) already applied at the page level from Power BI desktop.
Into the formula, I have to make sure that for each "Sum" the system sums all the previous months except for the last one.The last "Sum" must have only the Sum for the month.
Should I use "ALLSELECTED" function in my formula? Or "ALLEXCEPT"?
Or I am not in the right direction and I have to create intermediate measures?
Thank you in advance for your help.
Nico
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.