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
1up
Resolver I
Resolver I

Max value from a measure shown on each row

Hi,

 

With measure [Max Market Share] I want to display the maximum Market Share available in measure [Market Share]. Market share exist for every Customer in table: Customer.

 

With different tries with the Maxx function, ALLSELECTED etc. I have so far been unsuccessful. I always get the related row's market share to show again instead of the maximum market share being shown for all rows in the table.

 

Example of wanted functionality:

 

Table: Customer

Customer | Market Share | Market Share Max   

A                10%                  50%

B                 50%                 50%

C                 3%                   50%

 

Result I have gotten so far which is not wanted:

Table: Customer

Customer | Market Share | Market Share Max   

A                10%                  10%

B                 50%                 50%

C                 3%                   3%

 

Thanks for help,

Daniel

2 REPLIES 2
1up
Resolver I
Resolver I

Thanks for the reply, I got still however get the row-values for all rows, instead of the max value market share for each row. Market share is just existing in a measure, I was incorrect in writing market share exist in the Customer-Table.

 

Further suggestions would be helpful.

vicky_
Super User
Super User

It seems that you just need to remove the filter from the customer row. In this case, try something like:
Max Market Share = CALCULATE(MAX(Customers[Market Share]), REMOVEFILTERS(Customers[Customer]))

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
Top Kudoed Authors