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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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 Sage
Solution Sage

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors