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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Keep category area's height constant in a chart

Hello,

 

I am creating a scatter chart.

I have Product names on X, and their Total sales on Y.

I am using a scatter chart but not a column chart as I would like to see the sales as just points, not columns. 

I have Y-axis constant lines dividing the Y into ranges, and some images in the background indicating extra info for those ranges

I also have a filter on Product name on the page.

 

When I have all the products selected, the product names are arranged vertically on X, and the Y axis has some height. When I have fewer products selected, the Product names start to lay horisontally, and the Y-axis height changes. As a result, the position of the Y-axis constant lines change as well, and my extra images do not fit into the right interval, since they stay in the constant position.

 

Is there any way to deal with it? I would like to either have the X-axis names keep their height, or link the images to the Y-axis constant lines. Any advice is much appreciated!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , I doubt that is auto , means system will choose based on data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous , I doubt that is auto , means system will choose based on data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you for answering!

On my data it shifts the axis to the degree I cannot use the images. I believe it depends on how big is the product names. That's why I was wondering if it's possible to either keep X names vertically, or do anything else to resolve the issue..

amitchandak
Super User
Super User

@Anonymous , I tried on my system , It do shift the axis. But not by much. Seems like default behaviour ?

 

Screenshot 2020-12-28 16.07.03.pngScreenshot 2020-12-28 16.07.11.pngScreenshot 2020-12-28 16.07.18.png

 

Are you getting something really different ?

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks for answering. Here are the images:

vp_powerbi_0-1609150883626.pngvp_powerbi_1-1609151006612.png

 

amitchandak
Super User
Super User

@Anonymous , can you share the screenshots of the problem, along with what you have used on x-axis y-axis(in image).

It should work like this with the product on x-axis - https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-scatter

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.