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
dpombal
Post Patron
Post Patron

Scatter Chart Y axis end

 

I am having visual problems with scatter chart, I have 0 as start value for X , Y axis.  However X,Y max values is empty since  a priori I don't know the maximum value,  when powerbi manages max value automatically maximum values are only half plotted

 

It could be good to set something like Max X value  * 1.1 and same for Y axis ...

 

 

Any workaround?

Captura.PNG

 

reter

7 REPLIES 7
sarveshkalyan
Advocate I
Advocate I

Its late but this worked for me,

 

Axis End =
MAXX(
    VALUES('Table'[Column]), Measure)
    + 1
v-juanli-msft
Community Support
Community Support

Hi @dpombal

Is my understanding right?

Below is a test example

2.png

In power bi, create calculated columns

new axis = IF([axis]=CALCULATE(MAX([axis]),ALL(Sheet1)),[axis]*1.1,[axis])

new ayis = IF([ayis]=CALCULATE(MAX([ayis]),ALL(Sheet1)),[ayis]*1.1,[ayis])

1.png

 

Best Regards

Maggie

 

Hi, thanks for your reply

Data view

 

scatter chart.PNG

 

Scatter view, ....but on Xaxis start and end  (smae Yaxis start,end) I cannot drag any fields... (like new calculated columns...)

 

scatter chart2.PNG

 

Regards

Hi @dpombal

but on Xaxis start and end  (smae Yaxis start,end) I cannot drag any fields

for Yaxis, you could only enter values in, it doesn't support any column or measure.

If you want to add values in these field, just type the number.

 

 

the new created columns are used to put in the Xaxis or Yaxis fields in the visual.

 

Best Regards

maggie

 

This is weird...plotting not current values, it is not valid for me , thanks at all

Hi @dpombal

When i add the number which is max value *1.1 in the End field of X-axis or Y-axis, X-axis or Y-axis on the visual would change according to it.

 

If my reply helps you, could you accept it as a solution, so others may refer to it when happening to the similar problem.

 

Best Regards

Maggie

Are you proposing using a fixed value for X axis end and Y axis end?

 

If my value max is 1 , are you proposing me adding a fixed value constant of 1.1?

 

This is not useful because while filtering this value is constant, 

 

Regards

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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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