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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
okletsgo
Advocate II
Advocate II

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, @okletsgo 

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

@okletsgo 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.

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, @okletsgo 

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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