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

What is the correct visual to display set of values within a range

I have certain values(say x) and I have another table which defines the maximum and minimum values. What will be the best visual to showcase my values and also that value falls within that range of Maximum and minimum values? any way by which I can also tell that if values have fallen beyond my range

3 REPLIES 3
Fowmy
Super User
Super User

@Anonymous 

Check out the Box-and-Whisker Plots: https://powerbi.microsoft.com/en-us/blog/visual-awesomeness-unlocked-box-and-whisker-plots/

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

@Fowmy 

Box and Whisker doesnt seem to answer my problem. I have like sensors data from different devices whose reading I am plotting in my graph. Now each device should give sensors reading within a range of max and minimum values.

I have kept my device Id in a slicer. Selecting a device ID I see my readings over a scatter plot. But I would also like to see what all readings have gone beyond the specified Maximum and Minimum readings.


1st Table:

  
Device IDReadings
a11111
a11110
a11211

 

table 2:

Device IDMax readMin read
a11100180
a12120130
a13131200

 

So thats how my table is and in same graph I will be seeing hown many times my a11 id has crossed the minimum and maximum reading

Hi @Anonymous 

 

You can set conditional formatting. For example, create a relationship between two tables on column Device ID and set its cross filter direction as Both. Then create below measure:

Flag = 
VAR _value = SELECTEDVALUE(Table1[Readings])
VAR _min = SELECTEDVALUE(Table2[Min read])
VAR _max = SELECTEDVALUE(Table2[Max read])
RETURN
IF(_value >= _min && _value <= _max, 1, 0)

Set conditional formatting on a field, format by Rules and select above measure as field. Just like below. You can format background color/Font color/Icons. 

071301.jpg

 

You can also use this measure as a visual-level filter on a visual and set show items when value is 1 to only show values that are within the range (or show items when value is 0 to only show values that are out of range).

 

Attach a sample for your reference.

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

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