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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
samurai_jack
Helper I
Helper I

Defining high and low limit on line chart

Hi all,

This is basically what I want to recreate in Power BI.

 

I am not able to figure out how to set the high_limit and the low_limit, which I have as 2 different columns in the table. The measurement is also a separate field in the table. 

 

Thank you for you help.

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. You can enrich your line chart with the Analytics Pane. You can read more about it here: https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-analytics-pane

The pane will let you draw different things over the line chart. One of those settings it's Y-Axis Constant Line. You can add those constant lines with delimtied hardcode value or using a Measure that would be like a function with a calculation to adapt depending your needs or filters.

ibarrau_0-1701368252786.png

If you already have the column for the line, you could create a measure like average or sum of the column depending the axis and how the data is loaded.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi. You can enrich your line chart with the Analytics Pane. You can read more about it here: https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-analytics-pane

The pane will let you draw different things over the line chart. One of those settings it's Y-Axis Constant Line. You can add those constant lines with delimtied hardcode value or using a Measure that would be like a function with a calculation to adapt depending your needs or filters.

ibarrau_0-1701368252786.png

If you already have the column for the line, you could create a measure like average or sum of the column depending the axis and how the data is loaded.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors