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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How visualze a alert or warning stats?

I'm making a bug stats dashboard for a couple IoT sensors. So I have a sensor that report temprature, Co2, each of them have normal range for example temperature have normal range between -40 to 100 Celsius, so when it's out of the normal range it gonna give some warning or alert, the thing is I wanna some tips and idea how visualize it and what to use?

1 ACCEPTED SOLUTION

HI, @Anonymous 

The logic of your two rules are repeated, Since ">=-40 &&<125" contains ">=-39 &&<120" , and in the logical operations for conditional formatting, it will calculate rules from the bottom up. So for your setting, the value between -39 and 120 will be "Red".

and for your case, you could try this way:

Step1:

Add a measure 

conditional = IF([Averge Temperarure Value]<=-40||[Averge Temperarure]>126,1,0)

( [Averge Temperarure Value] is an average measure

Averge Temperarure Value = CALCULATE(AVERAGE(Table1[Temperarure]))

)

Step2:

Then use this measure to set conditional formatting for Averge Temperarure column

1.JPG

 

Best Regards,

Lin

Community Support Team _ Lin
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

3 REPLIES 3
parry2k
Super User
Super User

@Anonymous hope this helps.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

thanks but it wasn't that one i was looking. I'm looking for more conditional formatting column. So I wanna give a color to temperature once it's lower than -40 or higher than 126 then the color gonna change.  I have tried using the conditional formatting and choseed background color by rules without any sucess. The thing is the second value should change place also if its greater than 126 and less than -39 then show it red.

 

cl.jpg

HI, @Anonymous 

The logic of your two rules are repeated, Since ">=-40 &&<125" contains ">=-39 &&<120" , and in the logical operations for conditional formatting, it will calculate rules from the bottom up. So for your setting, the value between -39 and 120 will be "Red".

and for your case, you could try this way:

Step1:

Add a measure 

conditional = IF([Averge Temperarure Value]<=-40||[Averge Temperarure]>126,1,0)

( [Averge Temperarure Value] is an average measure

Averge Temperarure Value = CALCULATE(AVERAGE(Table1[Temperarure]))

)

Step2:

Then use this measure to set conditional formatting for Averge Temperarure column

1.JPG

 

Best Regards,

Lin

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors