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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.

 

 

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

@v-shex-msft, thanks for letting me know.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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