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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
charlotterose
Frequent Visitor

Max possible value in measure

Hi there, I am looking to get around the issue with the axis cutting off data labels when it has an auto maximum, I would also like to have my axis as static as possible.

 

Ideally I am wanting to have the conditional maximum Y axis value as [the maximum possible value of my measure] + .0.1

 

This is easy when just getting the max value, for a date using CALCULATE(MAXX(VALUES(Report_view[Date_Key]),[Rate - Population]) + 0.1)

 

however my data has a number of dimensions which it can be filtered by:

[Region]

[Location]

[age band]

[sex]

[UR]

[Dep]

 

Data is then plotted by quarter.

 

The measue I want the max of is a % so

Report_view[measure_value] / [measure - total population]

 

What I want, is to be able to calculate, across all the possible combinations, what the maximum % value is, and add 0.1. (like if I was to put them in a table and order high to low, I want that top % value.)

 

Not sure if this makes sense! may not be possible, but any advice would be greatly appreciated!

 

 

 

 

1 REPLY 1
amitchandak
Super User
Super User

@charlotterose , Assume you wast a max possible value for measure M1, then it will depend on combination

 

For region, it will be

Maxx(Values(Table[Region]), [M1])

 

Same way for multiple combination

 

Maxx(Summarize(Table, Table[Region], Table[Brand], Table[Age Group]) , [M1])

 

you can use all selected if needed like

 

Maxx(Summarize(allselected(Table), Table[Region], Table[Brand], Table[Age Group]) , [M1])

 

if you are using fact and dim

Maxx(Summarize(allselected(Fact), Region[Region], Item[Brand], Customer[Age Group]) , [M1])

 

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors