The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
Solved! Go to Solution.
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...
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
Good morning! I'm so sorry for the delay response. Yes, it worked! Thank you so much for your help!
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...
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
10 | |
8 |