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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

How to use Top and Bottom Quartile Values as Error Bars in a Line Chart

Dear Forum Friends,

I have a data file with a list of Healthcare measures and their indicators as well as the median values, bottom and top quartile values of each indicator (see top table in screenshot below).

I woul dlike to visualize the median as well as the bottome and top quartile values in a line chart, but would like the top and bottom quartile as as an error bar for the median values.

 

However, the error bars for the median of each indicator shows the SAME quartile value. As in the screenshot I below, the top quartile value for an indicator seems to be the average of all quartile values across the measurs/indicators. It is not showing the specific top quartile value of each indicater. 

Is there anyway to stop error bar values from being agregated? Or it there any DAX measure that can be used? 

Thanks in advance for your suggestions/ advice.

LijunChen_0-1727108607043.png

 

4 REPLIES 4
lbendlin
Super User
Super User

Please do not use line charts for independent subjects.  Use Box and Whiskers - they come with built in UCL and LCL

Anonymous
Not applicable

Thanks for your reply. There are 2 box and whisker visual power BI apps that I downloaded. But they have the value for median, but they don't allow FIXed values for whiskier values. My data file has already the median, bottom and upper quartile values for each record (a list of measures/indicators). I just want to show the 3 values in an visual just like in an error bar.  

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Anonymous
Not applicable

Thanks. I pasted some data in the Excel table. It has measures, indicators, median, top quartile and bottom quartile values. I would like to have Measures(Indicators) in the X axis, with Median in Y, and Bottom and Top Quartile value shown as the Error Bar value for each median value.  

MeasuresIndicatorsMedianBotton QuartileTop Quartile
Measure 1Indicator 162.256.867.1
Measure 1Indicator 258.854.664
Measure 1Indicator 341.835.446.1
Measure 1Indicator 413.3169.7
Measure 1Indicator 577.174.278.5
Measure 1Indicator 623.815.529
Measure 1Indicator 715.510.919.1
Measure 1Indicator 810.6616.3
Measure 1Indicator 952.542.963.5
Measure 2Indicator 1038.929.252.6
Measure 2Indicator 1172.763.676.9
Measure 2Indicator 1254.646.265.4
Measure 2Indicator 1354.548.364.9
Measure 2Indicator 1433.928.643.3
Measure 2Indicator 1570.462.179.6
Measure 2Indicator 1647.940.157.5
Measure 2Indicator 174336.449.4
Measure 2Indicator 1854.145.159.5
Measure 2Indicator 1942.139.245.5
Measure 3Indicator 2012.28.114.4
Measure 3Indicator 2143.44147.7
Measure 3Indicator 2215.810.518.5
Measure 3Indicator 2356.650.164.6
Measure 3Indicator 2429.517.537.4
Measure 3Indicator 2541.336.944.8
Measure 3Indicator 26117.915.1
Measure 4Indicator 2772.664.674.4
Measure 4Indicator 2844.240.549.3
Measure 4Indicator 2949.946.157.7
Measure 4Indicator 3033.227.341.5
Measure 4Indicator 3152.447.658.2
Measure 4Indicator 3235.328.641.9
Measure 4Indicator 3362.658.667.2
Measure 4Indicator 346.793.2
Measure 4Indicator 3556.251.671

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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