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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
PowerBINoob24
Resolver I
Resolver I

Target line

Afternoon all:

 

I have a line graph that shows montly percentages across a rolling 12 month period for three metrics.  Is it possible to put a target line on the graph for each of the three metrics?  For example: Metric 1 has a target of 5%, Metric 2 has a target of 22%, Metric 3 has a target of xx %. Thos target line would extend across the line graph. This would allow to see where each metric is relative to target each month.

 

TIA for any help.

2 ACCEPTED SOLUTIONS
NishPatel
Resolver II
Resolver II

Go to Analytics area under visualizations and Click on Y-Axis Constant Line and you can add multiple target lines here and format accordingly

View solution in original post

v-weiyan1-msft
Community Support
Community Support

Hi @PowerBINoob24 ,

 

Thank you, @NishPatel, for your helpful and quick response.
My additions are as follows.
Here is the dummy data I created.

vweiyan1msft_0-1708933659390.png

The fields in the line chart are as follows.

vweiyan1msft_1-1708933678574.png

Please select your line chart, and in the Visualizations pane, do the following.
Line colors can be changed on your request.
You can also set the Data label option to "on".

vweiyan1msft_2-1708933710137.jpeg

Result is as below.

vweiyan1msft_3-1708933731127.png

For more you may refer to:

Use the Analytics pane in Power BI Desktop - Power BI | Microsoft Learn


Best Regards,
Yulia Yan


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

View solution in original post

2 REPLIES 2
v-weiyan1-msft
Community Support
Community Support

Hi @PowerBINoob24 ,

 

Thank you, @NishPatel, for your helpful and quick response.
My additions are as follows.
Here is the dummy data I created.

vweiyan1msft_0-1708933659390.png

The fields in the line chart are as follows.

vweiyan1msft_1-1708933678574.png

Please select your line chart, and in the Visualizations pane, do the following.
Line colors can be changed on your request.
You can also set the Data label option to "on".

vweiyan1msft_2-1708933710137.jpeg

Result is as below.

vweiyan1msft_3-1708933731127.png

For more you may refer to:

Use the Analytics pane in Power BI Desktop - Power BI | Microsoft Learn


Best Regards,
Yulia Yan


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

NishPatel
Resolver II
Resolver II

Go to Analytics area under visualizations and Click on Y-Axis Constant Line and you can add multiple target lines here and format accordingly

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.