Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Solved! Go to Solution.
Hi @sraj
You're asking DATEDIFF the difference in minutes between the two date-times. It doesn't take the seconds into account.
So there is only 1 minute difference betwen 12:13 and 12:14.
You need to change MINUTE to SECOND and you'll get 98 seconds, then convert that into minutes.
# of Mins APPWAITtime =
VAR _Diff = DIVIDE(DATEDIFF(SELECTEDVALUE('vw_MeetingWaitTimes'[MoveToQueue]), SELECTEDVALUE('vw_MeetingWaitTimes'[InPlace]),SECOND),60)
VAR _Mins = INT(_Diff)
VAR _Seconds = _Diff - _Mins
RETURN _Mins + (_Seconds * 60 / 100)
Regards
Phil
Proud to be a Super User!
Hi @sraj
Imposible to say what is hapenning without seeing your data that the measure is acting on. Can you provide it? At least a snapshot of the data producing blanks?
As the measure works with my data, something must be different at your end.
Regards
Phil
Proud to be a Super User!
Hi @sraj
You're asking DATEDIFF the difference in minutes between the two date-times. It doesn't take the seconds into account.
So there is only 1 minute difference betwen 12:13 and 12:14.
You need to change MINUTE to SECOND and you'll get 98 seconds, then convert that into minutes.
# of Mins APPWAITtime =
VAR _Diff = DIVIDE(DATEDIFF(SELECTEDVALUE('vw_MeetingWaitTimes'[MoveToQueue]), SELECTEDVALUE('vw_MeetingWaitTimes'[InPlace]),SECOND),60)
VAR _Mins = INT(_Diff)
VAR _Seconds = _Diff - _Mins
RETURN _Mins + (_Seconds * 60 / 100)
Regards
Phil
Proud to be a Super User!
I am not sure why but after I used this all I am seeing blanks, no values. Do I need to change the format or something?
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 43 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |