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
Anonymous
Not applicable

Sum available hours with a filter Start to Finish

Hi, 

I am having a little trouble finding the answer to this DAX. 

 

I wish to sum the total availaible hours, how would I stop the avalble summing to 16?

 

TaskResourceStartEndAvailableWorked
Project 1Name 101/01/201901/01/201984
Project 1Name 101/01/201901/01/201985
      
      
Resource TableCapacity    
NAME8HRS    
      
Date TableCapacity    
Date8HRS    

 

Regards

Steve

1 ACCEPTED SOLUTION

Hi,

 

You may downloaded my PBI file from here.

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
rocky09
Solution Sage
Solution Sage

can you provide more details. It will be helpful, if you provide a sample output you are expecting.

Anonymous
Not applicable

I am looking for it a summary line by the resource

 

 

ResourceAvailableWorked
Name 189

 

 

If the resouce worked mutiple days

 

TaskResourceStartEndAvailableWorked
Project 1Name 101/01/201901/01/201988
Project 1Name 101/01/201902/01/20191616

 

it  would sumarize as follows 

 

ResourceAvailableWorked
Name 11624

Hi,

 

You may downloaded my PBI file from here.

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

how did you get 32?

Anonymous
Not applicable

my mistake should be 24

create new table from Modeling tab and then use the below DAX. Please rename the columns as per your data.

 

summarizetable2 = SUMMARIZE(Table2,Table2[Resource],"Available",MAX(Table2[Available]),"Hours Worked",SUM(Table2[Worked]))
Anonymous
Not applicable

Am I able to sum only hours worked from Today? I am filtering out the past. 

"Hours Worked",SUM(Table2[Worked]))

 

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.