Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
LearningBI1986
Frequent Visitor

ALLEXCEPT

Hey guys,

I work for an airline industry. I have a simple formula for Completion Rate, which is Cancellations/(Flown + Cancellations).

I have a filter for the reason a flight was cancelled. However, I only want to apply it to the numerator in this equation. In other words, I always want the denominator to be Flown + Cancelled, with no "reason" filter applied. 

I have been using BI for under a year now, and can't seem to get the ALLEXCEPT function to do what I need. Maybe I am doing something wrong. I am on a time crunch, and feeling some pressure! Any help would be really appreciated!

2 REPLIES 2
LearningBI1986
Frequent Visitor

Thank you!!!

AlienSx
Super User
Super User

Hi, @LearningBI1986 i would suggest to use REMOVEFILTERS instead like

VAR Denominator = CALCULATE([Cancellations] + [Flown], REMOVEFILTERS("reason_column"))

RETURN DIVIDE ( [Cancellations], Denominator)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors