Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 41 | |
| 21 | |
| 18 |