Forum Discussion
total time for group values
- 2 years ago
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-Forum/ba-p/963216
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/1447523 - Anonymous2 years ago
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] ) )
If I understand you wrongly, could you explain your needs in more detail?
Best Regards,
Sunshine Gu
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] ) )
If I understand you wrongly, could you explain your needs in more detail?
Best Regards,
Sunshine Gu
- cnoh2 years agoFrequent Visitor
Good morning! I'm so sorry for the delay response. Yes, it worked! Thank you so much for your help!