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 September 15. Request your voucher.
Hi,
I am trying to create a Measure that will provide the format as below:
xD xH xM ---> (D=days, H=hours, M=minutes)
I have two DATEDIFF columns, one providing calculation in DAYS and other in MINUTES. Some of the DATEDIFF are going to calculate a NEGATIVE duration. That is what I am trying to format in a understandable way. Everything I have tried is not showing correct values.
I basically need the value to calculate the same way for NEGATIVE duration as it does for POSITIVE duration. For some reason, the NEGATIVE duration is not right.
I have attached a sample data file. Any help would be appreciated.
file is .xlsx, but I am doing this in .pbix
User | Count |
---|---|
14 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
13 | |
7 | |
5 |