Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Alta88
Helper IV
Helper IV

Creating a Measure for time values

We keep metrics on our daily calls and I'm looking for a way to flag and conditional format calls with a Speed-to-answer (STA) time that exceeds 15 seconds. How would I do this in Dax? 

 

Alta88_0-1714418342974.png

 

1 ACCEPTED SOLUTION

Ok, just make sure to format it to date and then it should work.

View solution in original post

3 REPLIES 3
Alta88
Helper IV
Helper IV

Thank you, Kaviraj11! Looks like the system is flagging an error because I have a discrepancy in the data type (text vs. date) and the formula.

Ok, just make sure to format it to date and then it should work.

Kaviraj11
Solution Supplier
Solution Supplier

Firstly, you can create a calculated column:

 

Flag = SWITCH(TRUE(),'Table'[Time]>TIME(0,0,15),"Yes","No")
 
And use the above column in conditional format 'Rules' and in Rules if value is = Yes.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.