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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
RoscoP
Frequent Visitor

Creating a measure that will perform as a limit

Greetings,

 

I would like to create a limit line on my line chart. Currently I place line object (example below). I need this to be a parameter that I set a start and stop value (x axis) and an amplitude value (y axis). Any help is appreciated. Thank you.

 

RoscoP_0-1617210817649.png

 

4 REPLIES 4
v-lionel-msft
Community Support
Community Support

Hi @RoscoP ,

 

Is this what you want?

v-lionel-msft_0-1617691154110.png

 

Best regards,
Lionel Chen

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

 

Thank you. That is half of it.

Is there a way to restrict the range so that it isn't across the entire view?

How do I access this, please?

Jihwan_Kim
Super User
Super User

Hi, @RoscoP 

Please correct me if I wrongly understand your question.

 

- You can draw a line in a linechart by creating a measure, something like,    Linemeasure = 10

- If you want to only show the data lower than the line, and within the line range, I think there is a way to limit the data by adding filters in a measure.

 

If it is OK with you, please share your sample pbix file, then I can try to come up with more accurate measures.d

 

Thank you.

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Hello Jihwan,

 

I did not explain well. I want to create the line from entering a start and stop value for X, line value @ Y value. I input those parameters [into a table?], which create the line on the chart. I want to have a field to show on plot instead of drawing a line.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.