Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi all,
Hope someone can help me with the following.
Below is a simple table.
What I want is the following;
If the TIME_TO_COMPLETE is more than 00:20 and the MODALITY_OUT is TRUCK, the time to complete value must shown up in YELLOW.
Is there a formula to do so?
Thanks for your help!
John
Solved! Go to Solution.
@Anonymous , hope time complete is a measure the color measure
if( [TIME_TO_COMPLET] >= time(0,0,20) && [MODALITY_OUT] = "TRUCK" , "Yellow", "White")
Use in conditional formatting using field value option
[TIME_TO_COMPLET] >= 20 // if time in second and formatted as time
@Anonymous , hope time complete is a measure the color measure
if( [TIME_TO_COMPLET] >= time(0,0,20) && [MODALITY_OUT] = "TRUCK" , "Yellow", "White")
Use in conditional formatting using field value option
[TIME_TO_COMPLET] >= 20 // if time in second and formatted as time
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 37 | |
| 30 | |
| 26 |