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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
JCBI1023
Helper III
Helper III

Calculate Sum Filtering Out Measures

Quick one for your masters. Thanks in advance. 

 

I am trying to calculate a sum which filters out some measures that I created. 

 

Customer Billed = CALCULATE(SUM(Sheet1[Total Hours]), FILTER(Sheet1 <> [ATO] || [Internal] || [Lost Time Hours] || [MC Labor Hours] || [Travel Hours]))

 

I need the "Total Hours" sans the measures that I created "ATO", "INTERNAL", etc.

 

I know my measure is close, but I can't get it to work. 

 

err.pngerr 2.png

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@JCBI1023

 

HI, i will try with:

 

CustomerBilled=

VAR NotBilleable=[ATO] + [Internal] + [Lost Time Hours] + [MC Labor Hours] + [Travel Hours]

RETURN
SUM(Sheet1[Total Hours]) - NotBilleable

 

Regards

 

Victor

Lima - Peru

 

 




Lima - Peru

View solution in original post

3 REPLIES 3
Vvelarde
Community Champion
Community Champion

@JCBI1023

 

HI, i will try with:

 

CustomerBilled=

VAR NotBilleable=[ATO] + [Internal] + [Lost Time Hours] + [MC Labor Hours] + [Travel Hours]

RETURN
SUM(Sheet1[Total Hours]) - NotBilleable

 

Regards

 

Victor

Lima - Peru

 

 




Lima - Peru

Perfect, sir. Thank you for your time. 

Omega
Impactful Individual
Impactful Individual

Can you try: 

 

Customer Billed = CALCULATE(SUM(Sheet1[Total Hours]), ALLEXCEPT (Sheet1, Sheet1[ATO], Sheet1[Internal], Sheet1[Lost Time Hours], Sheet1[MC Labor Hours], Sheet1 [Travel Hours])

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors