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
yanx1990
Frequent Visitor

Add a constant line on a Line and Stacked bar charts

Hello,

 

I have a visual Line and stacked column charts where I'd like to add a constant line. I noticed that it's not possible with this kind of visual so I tried using a measure "Measure = 40". When I had the measure to my visual, it's indeed showing the constant line 1.5 but it shown all the values without taking in count my axis filter (visual filter based on the date) : 

 

Here's my original graph with filters : 

image.png

 

And here's when I add the measure = 40

image.png

 

 

How can I do to have the measure also filtered by the Created time ?

 

Thanks a lot for your help.

 

Kind regards,

Yannick

1 ACCEPTED SOLUTION
mussaenda
Super User
Super User

Try filtering your other values in the visual (Filter Pane) like count of request ID is <> to 0.

 

2019_09_02_14_53_36_Add_a_constant_line_on_a_Line_and_Stacked_bar_char..._Microsoft_Power_BI_Commu.png

View solution in original post

2 REPLIES 2
mussaenda
Super User
Super User

Try filtering your other values in the visual (Filter Pane) like count of request ID is <> to 0.

 

2019_09_02_14_53_36_Add_a_constant_line_on_a_Line_and_Stacked_bar_char..._Microsoft_Power_BI_Commu.png

D*mn, it was so simple... I didn't even realize I was not on the same Table (Created Time and Request ID) !

 

Well, thanks a lot for your fast and perfect reply Smiley Very Happy

 

Have a nice day !

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.