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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Art
Frequent Visitor

Box and Whisker Plot in Power BI

I have a data set below and I am trying to plot the Box and whisker plot for the three serial No and trying to find if there any RPM that are outliers. I tried using MAQ and Jan Pieters but could not do it. Can anyone tell me the steps to make a box and whisker plot with this data. Adding RPM to values of the boxplots are not allowing me to select DO NOT SUMMARIZE.

 

 

Serial NoDateRPM
12W336/7/201711
14J336/8/201723
55x446/9/201756
12W336/10/201733
14J336/11/201733
55x446/12/201733
12W336/13/20174
14J336/14/201755
55x446/15/201755
SEQUENCEDATES BELOWVALUES
CONTINUESBELOW
1 ACCEPTED SOLUTION
Thejeswar
Community Champion
Community Champion

Hi @Art,

PFB image showing outliers in Box and Wisker chart

boxwisker2.PNG

 

 

The Above Visual shows the outliers present in the data for each sample.

 

Actually the sample data which you provided was not giving any outliers and hence I added a 2 more records to the data for the each sample.

 

Also I used the Wisker Type as Custom and gave my own Low% (10) and High% (90) Values to get the outliers displayed. I am not sure if the outliers will be automatically displayed in the other wisker types as this data was not giving me any outliers in the other wisker types (even after adding few records)

 

I think with large amount of data for each sample you will be able to see the outliers in each sample.

 

Hope this is what you were in need of and let me know in case you want the data sample I used for this

View solution in original post

3 REPLIES 3
Thejeswar
Community Champion
Community Champion

Hi @Art,

Can you tell me why do you want to set Data Category as "DO NOT SUMMARIZE" for RPM?

 

The Basic Functionality of Box and Whisker Plot is to consider all the values of the samples available for the Category. This Sampling is grouped based on the Item you specify in the "Sampling" option of the chart. In your case, when you have the category as "Serial No.", Sampling as "Date" and Value as RPM, it groups the data of RPM for Date binned by Serial No.

 

So ideally, some summarization has to be set for the column used in the value section.

 

You might be knowing, you cannot group a value without aggregating it.

 

For Ex.

Your Box and Whisker Chart Query is more like the one below

Works:

Select SerialNo, Date, SUM(RPM) from table1

group by SerialNo, Date

 

When you make the value as Do not summarize, it looks more like the one below

Does not Work this way:

Select SerialNo, Date, RPM from table1

group by SerialNo, Date

 

 

Regards,

Thejeswar

Art
Frequent Visitor

@Thejeswar I want to coniser the RPM for each machine as a sample. For example 12W33 is a sample. And RPM are the values in that sample and I want to find the outliers in that sample. We cannot just add two intances of profit on the same day say 75% and 75% and say the total profit that day was 150%. In this case summarize won't work. Did you get it?

 

Thejeswar
Community Champion
Community Champion

Hi @Art,

PFB image showing outliers in Box and Wisker chart

boxwisker2.PNG

 

 

The Above Visual shows the outliers present in the data for each sample.

 

Actually the sample data which you provided was not giving any outliers and hence I added a 2 more records to the data for the each sample.

 

Also I used the Wisker Type as Custom and gave my own Low% (10) and High% (90) Values to get the outliers displayed. I am not sure if the outliers will be automatically displayed in the other wisker types as this data was not giving me any outliers in the other wisker types (even after adding few records)

 

I think with large amount of data for each sample you will be able to see the outliers in each sample.

 

Hope this is what you were in need of and let me know in case you want the data sample I used for this

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.