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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Abdel_BCN
Frequent Visitor

Get total from another table columns

Hi!

 

I have Job's ID's with several amount of hours logged in. I want to get the total the summary of these hours in another table in only one line Job ID -> Total hours.

Until now what I get is repeated total hours.

 

Thanks!Question - Bi Community.JPG

1 ACCEPTED SOLUTION
v-chenwuz-msft
Community Support
Community Support

Hi @Abdel_BCN ,

 

You want get a summarize table which has jobid and total?

Please consider SUMMARIZE(). And in your case some dax like the following:

Total_Billable_Hours =
SUMMARIZE(
    'BU Analysis',
    'BU Analysis'[Job No.],
    "Total_hours", SUM( 'BU Analysis'[Real Hours] )
)

 

If this does not work, please share pbix file without sensitive data and expect result.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

1 REPLY 1
v-chenwuz-msft
Community Support
Community Support

Hi @Abdel_BCN ,

 

You want get a summarize table which has jobid and total?

Please consider SUMMARIZE(). And in your case some dax like the following:

Total_Billable_Hours =
SUMMARIZE(
    'BU Analysis',
    'BU Analysis'[Job No.],
    "Total_hours", SUM( 'BU Analysis'[Real Hours] )
)

 

If this does not work, please share pbix file without sensitive data and expect result.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.