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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors