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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.