cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
admin11
Super User
Super User

How to add the hori line at GP 40% level ?

Hi All

 

I have a chart below , i like to insert the Red horizontal line at 40% GP 

admin11_0-1619421625053.png

After :-

admin11_0-1619421940301.png

 

PBI file :-

https://www.dropbox.com/s/6go0wbhf69m7tvv/PBT_V2021_400%20SI_TI.pbix?dl=0

 

Paul

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @admin11 I'm coming.

 

You can easily do it by creating a constant line in analytics.

Like this:

2.png3.png

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

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

6 REPLIES 6
v-janeyg-msft
Community Support
Community Support

Hi, @admin11 I'm coming.

 

You can easily do it by creating a constant line in analytics.

Like this:

2.png3.png

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

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

@v-janeyg-msft 

Thank you very much for your help , it work fine now. @amitchandak 

Paul

@admin11 You are welcome😊.

amitchandak
Super User
Super User

@admin11 , you file is not opening. What are axis and legend?

You should have an axis. Seem like you only have a legend 



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
amitchandak
Super User
Super User

@admin11 , Create a measure

line =.04

 

and add that as the line in clustered line visual



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

@amitchandak 

i Have try , and i notice that now the bar become vary thin.

admin11_0-1619423052475.png

I can make the bar very thick , but i cannot have legend color .

admin11_1-1619423169887.png

Any work around ?

 

My PBI file :-

https://www.dropbox.com/s/trxo8sjrxxl78n8/PBT_V2021_400%20SI_TI.pbix?dl=0

 

Paul

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors