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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

A measure to exclude values from one column based on filtering from another column

Nobleks_0-1709162719217.png

I have the above data set and I am trying to get the sum of the question value except when the text in the Fail column is "yes". 

Nobleks_1-1709162816145.png

I've tried a few different measures, but when I select "yes" on the slicer, I'm having an issue getting it to ignore the question value data. I would value any assistance as I think I have been working on this too long and am overthinking the problem.

 

Thank you,

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Anonymous ,

Create a measure.

Sum Except Fail = CALCULATE(SUM(table[question value]),filter(all(table),table[Fail] <> "yes"&&table[date]=selectedvalue(table[date])))

 

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

View solution in original post

Anonymous
Not applicable

Thank you for the prompt reply. I actually added an if statement and just zeroed out the score possible and took care of the Score Percentage that way. 

 

Thank you!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

Create a measure.

Sum Except Fail = CALCULATE(SUM(table[question value]),filter(all(table),table[Fail] <> "yes"&&table[date]=selectedvalue(table[date])))

 

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

Anonymous
Not applicable

Thank you for the prompt reply. I actually added an if statement and just zeroed out the score possible and took care of the Score Percentage that way. 

 

Thank you!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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 Solution Authors
Top Kudoed Authors