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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
cnoh
Frequent Visitor

total time for group values

Hi, I've been trying sum up total time for each group values and find the difference between group values, such as what was the total time from checking in to check out.  I tried using summarize and calculation formula and the result is not correct.  Please help!

cnoh_0-1724349477588.png

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

View solution in original post

Anonymous
Not applicable

Hi @cnoh ,

Do you need to get the difference between Check Out and Check In?

If so ,I did a test for your reference.

Please check this:

Measure = ABS( SUMX( FILTER( 'Table' , 'Table'[Room] = "Check In" ) , [Total Time] ) - SUMX( FILTER( 'Table' , 'Table'[Room] = "Check Out" ) , [Total Time] ) )

vyetonggumsft_0-1724638976849.png

If I understand you wrongly, could you explain your needs in more detail?

 

Best Regards,

Sunshine Gu

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @cnoh ,

Do you need to get the difference between Check Out and Check In?

If so ,I did a test for your reference.

Please check this:

Measure = ABS( SUMX( FILTER( 'Table' , 'Table'[Room] = "Check In" ) , [Total Time] ) - SUMX( FILTER( 'Table' , 'Table'[Room] = "Check Out" ) , [Total Time] ) )

vyetonggumsft_0-1724638976849.png

If I understand you wrongly, could you explain your needs in more detail?

 

Best Regards,

Sunshine Gu

Good morning! I'm so sorry for the delay response.  Yes, it worked!  Thank you so much for your help!

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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