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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
MCacc
Helper IV
Helper IV

Line y axis independent from slicer

Hello, 

 

I have a calculated column with a fixed number (95%), and I need to use this number in a Line-y Axis of a combo chart.

The dimension in my combo chart x-axis is Month

 

I also have a slicer Month, same field of my combo chart x-axis.

 

The field Month (used both in the combo chart and in the slicer) comes from my Calender table in relationship with my fact table.

 

The data generates three columns, one for each month that exisist. I want my line-y to not react to the month slicer, but I want it to be a straight line completely indipendent from my slicer choice.

 

I tried this measure:

My line-y axis := CALCULATE(MAX(Fact Table[Fixed Value]), ALL(Calendar[Month]))

 

However, when I select a month from my  slicer a dot comes out corresponding to my selection.

 

How can I avoid this beahviour?

 

Thank you very much for your support

2 REPLIES 2
amitchandak
Super User
Super User

@MCacc , Try like

 

My line-y axis := CALCULATE(MAX(Fact Table[Fixed Value]),all())

 

or use the measure in Y-axis constant line (fx) in Analytics Pane

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for your response but a) the measure returns an error saying ALL function needs at least one argument, and b) I can't use analytics pane because it's not supported for the combo chart. 

 

But thank you for the tips.

 

Any other ideas?

 

Thank you! 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors