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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
safsad
Helper I
Helper I

How to find total hours without affecting the date selection?

Hi ,

 

I want to find the Sum of Hours from the Hours table, so what i'm looking for is to show the sum of Actual hours as i marked in the screen shot, but without the date filter.  The date section shouldn't affect the "Actual Hours".

 I really apprecaite any help provided.

This is the formula i used:   

Actual Hours = SUM(hrs[hrs])+0

 

safsad_0-1604415137622.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@safsad , Do you need without any filter? Try

calculate(SUM(hrs[hrs]), all(Hrs))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@safsad , Do you need without any filter? Try

calculate(SUM(hrs[hrs]), all(Hrs))

Thanks Amit for the solution. 

 

I got it by  the following formula :

 

CALCULATE(SUM(hrs[hrs]),ALL(hrs[ddate]))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.