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

October 28 & 29: Experts share their secrets on how to pass the Fabric Analytics Engineer certification exam—live. Learn more

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

October NL Carousel

Fabric Community Update - October 2024

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