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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors