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 new to Dax. I want find difference between two dates in hours. I tried by using DATEDIFF function but it is excluding minutes
I want result like this
Is there another way to solve this probem.
@amitchandak
Solved! Go to Solution.
Hi,
You need to calc the Hour and Minutes separately, then add the particular text Hr and Min to the text one.
use the below code for your measure :
Hi,
You need to calc the Hour and Minutes separately, then add the particular text Hr and Min to the text one.
use the below code for your measure :
Hi
did you use the Interval in your dax :
Appreciate your Kudos and please mark my response as a solution if it helps you
User | Count |
---|---|
65 | |
59 | |
55 | |
53 | |
30 |
User | Count |
---|---|
180 | |
88 | |
72 | |
48 | |
46 |