Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |