This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
hi @danextian @Uzi2019 ,
thank you guys for the help, i was able to achieve exactly the needed visual by using a constant reference line for the threshold, and used 2 calculated columns to get the white bars in the stacked bar chart, first calculated column is :
14 - 'table'[pH column]
Second is:
'table'[pH column] - 14
14 is the max ph level.
here is the result:
you then change the 2 calculated columns's colors to white and the main measure which is the average pH to green or whaever you desire
You can use error bars but it is not going to be perfect. In the sreenshot below. I am using the same measure for the upper and lower bounds.
hi @danextian @Uzi2019 ,
thank you guys for the help, i was able to achieve exactly the needed visual by using a constant reference line for the threshold, and used 2 calculated columns to get the white bars in the stacked bar chart, first calculated column is :
14 - 'table'[pH column]
Second is:
'table'[pH column] - 14
14 is the max ph level.
here is the result:
you then change the 2 calculated columns's colors to white and the main measure which is the average pH to green or whaever you desire
You can simply
1)add stack column chart
2) add your PH column in Y axis
3) then go to analytics pane
4) add constant line
5) on Fx add your value. and set summarization to Average
that's it. you PH chart will be ready with few tricks to constant line
Match your average line color to background color
I hope I answered your question
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 74 | |
| 61 | |
| 31 | |
| 31 | |
| 23 |