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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Jamie_Hughes
Frequent Visitor

Scatter graph y axis

Hi,

 

I am new to PBI and I was wondering if there is a way of setting a scatter graph y axis max value with a measure.

 

My issue is this, I have two scatter graphs, Data A and Data B. The values for these are different so the graphs don't line up when I select different categorys due to the different values on each graph.

Data.PNG

 

What I would like to do is set the max value for the y axis with a measure which calculates the max per dataset, this would then align the two graphs, Does anyone know how to do this or have a soultion.

 

Many thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jamie_Hughes,

 

In fact, you can't use measure to dynamic control axis data range, power bi will analytic your records and set up to a suitable range and data unit. ( you can  manually change it in format tab axis option)

 

BTW, measures can't use on axis or legend fields.

 

Regards,

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
parry2k
Super User
Super User

@Jamie_Hughes not sure if there is way to assign max value dynamically, you can sure set it manually.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k, I could but then the graph gets all wierd when the figures are low, e.g. if the max value is 3000, I can set the graph to 3100 to show the max when it is selected, but when other categorys are selected that are much lower and only have a 100 max, it doesn't look right.

 

I thought maybe you could set it with a measure to dynamically change it based on what is selected.

 

 

Anonymous
Not applicable

Hi @Jamie_Hughes,

 

In fact, you can't use measure to dynamic control axis data range, power bi will analytic your records and set up to a suitable range and data unit. ( you can  manually change it in format tab axis option)

 

BTW, measures can't use on axis or legend fields.

 

Regards,

Xiaoxin Sheng

@Anonymous, thanks for letting me know.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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