Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
This might be easy.
Let's say I've the following Pivot Table.
What would be the dax expression to create a measure named "Max" so that i would get the following.
i.e If Value in "Sum of Sales Amount" column equals Maximum Value of "Sum of Sales Amount" column, then the value itself, otherwise a blank.
Solved! Go to Solution.
You may also try
Amount Max =
VAR MaxAmount =
MAXX ( ALLSELECTED ( TableName[Year] ), [Sum of Sales Amount] )
RETURN
IF ( [Sum of Sales Amount] = MaxAmount, MaxAmount )
Same table, Sir.
Please try
Amount Max =
CALCULATE (
MAXX ( ALLSELECTED ( TableName[Year] ), [Sum of Sales Amount] ),
KEEPFILTERS ( TableName[Year] )
)
You may also try
Amount Max =
VAR MaxAmount =
MAXX ( ALLSELECTED ( TableName[Year] ), [Sum of Sales Amount] )
RETURN
IF ( [Sum of Sales Amount] = MaxAmount, MaxAmount )
It worked. Thankyou, Sir. 🙂
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
16 | |
8 | |
7 | |
7 | |
6 |
User | Count |
---|---|
23 | |
11 | |
10 | |
10 | |
8 |