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.
Hello!
I am trying to get the number of hours difference between an "Approval Time" and the current time. I am getting an unexpected result, I'm guessing because of the datetime format of the Now() function. If right now is 4 pm, is there a simple way to just see "2" as the result?
Please check out the DATEDIFF DAX function: DATEDIFF function (DAX) - DAX | Microsoft Learn
You can specify the Interval as Hours
Proud to be a Super User! | |
User | Count |
---|---|
61 | |
58 | |
50 | |
49 | |
34 |
User | Count |
---|---|
153 | |
85 | |
69 | |
48 | |
47 |