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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a column that has the difference in time but some of the values are reading as the correct number just negative. Is there away to modify my query to make all numbers absolute?
Query Being Used:
ART = DATEDIFF(v_rpt_Service_SLA[ART_ST], v_rpt_Service_SLA[Date_Responded_UTC],HOUR)
Solved! Go to Solution.
Hi @slounsbury,
Just wrap your measure with ABS formula:
ART = ABS ( DATEDIFF ( v_rpt_Service_SLA[ART_ST], v_rpt_Service_SLA[Date_Responded_UTC], HOUR ) )
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @slounsbury,
Just wrap your measure with ABS formula:
ART = ABS ( DATEDIFF ( v_rpt_Service_SLA[ART_ST], v_rpt_Service_SLA[Date_Responded_UTC], HOUR ) )
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThank you! This did the trick.