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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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