Forum Discussion
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?
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
Best Regards,
Lin
3 Replies
- AnonymousNot 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.
- v-lili6-msft
Community Support
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
Best Regards,
Lin