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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Jmccoy
Helper II
Helper II

Showing seconds in a visual

I am putting into visuals the health of our servers for my developer to monitor without having to look through tables in SQL. 

 

There is one visual I need help putting together, I can not seem to figure out the best way to go about it. 

 

first time reading: EX. 2020-06-05 14:15:47.000

second time reading: EX. 2020-06-05 14:15:54.000

 

These are two columns that that find the difference in time it took for a command to run in a program on our 6 difference servers. 

 

So far in Power BI, I have found the difference between the two and made another column called time diff. I am trying to make a visual that shows each server and TimeDiff value. This table I am using only has 6 rows for each server and does not keep track of historical data. As soon as the command fires, the first time and seconds time are constantly being replaced by new values. 

 

I am being told all the he cares about is if the time between commands stays between a certain range. He wants it to change color as the time increases. 2-5 seconds is ideal- green, 5-10 seconds - Orange , 10+ is red. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Jmccoy 

 

You can use Second() function to take out the Seconds from the Time column. Then use the measure to rule the conditional formatting.

 

Sec = Second([Time Column])

 

conditional fomating seconds.JPG

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Jmccoy 

 

You can use Second() function to take out the Seconds from the Time column. Then use the measure to rule the conditional formatting.

 

Sec = Second([Time Column])

 

conditional fomating seconds.JPG

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @Jmccoy ,

 

You can use the conditional formatting function in the table to set the color that you want.

 

Aiolos Zhao

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors