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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
the_odd
New Member

Constant lines on x-axis dictates slicer on the x-axis.

I'm trying to plot a scatter plot where I have "days to" on the x-axis and some value on the y-axis.

 

In the plot I have added some constant lines at given x-values. i.e. 50, 100, 150. However, when I add a slicer showing data for only x = [0,90], the auto setting on the x-axis maintains the same view to include the constant lines, instead of narrowing the axis to only include the data that is in line with the filter (It removes the data from the plot but the view or axis doesn't change).

 

However, the constant lines outside of the sliced range are not important, so is it possible to work around or override this behavoir?

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @the_odd,

 

Per my understanding, as constant lines always show static values in scatter chart, they cannot be dynamically changed based on slicer selection. After you remove the constant lines, the value range on X-axis would be conditionally changed. Currently, there is no way to change this default behavior.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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