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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Returning the Max value

Hello, I have some data that I am trying to return the max value of a column. I am newish to power bi and Dax and cannot seem to figure out how to write the proper function to complete the task. If anyone can help it will be greatly appreciated! 

 

Sample data:

VendorWordsYearMonthMax
Jim6502018/091250
Jim6002018/090
Tim1002018/050
Tim3002018/03300
Matt5002018/02500
Matt4002018/010
Jake6002018/010
Jake7002018/10

900

Jake2002018/100
Tom9002018/12900
Tom4002018/010
Tom1002018/110

 

I am trying to find the max amount of words each person can write in a month if there are multiple entries per month then I am looking to sum them together. I am trying to filter by vendor and YearMonth. I only want to see the Max amount each person can do. If anyone can help me write a formula I would really appreciate it. 

Thanks in advance!

1 ACCEPTED SOLUTION
LivioLanzo
Solution Sage
Solution Sage

Hi @Anonymous

 

check the file here: https://1drv.ms/u/s!AiiWkkwHZChHj1CvCpKtyEyBnx6D

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi jarodjp42,

 

To achieve this, create a measure using DAX formula below:

Result = MAXX(Table1, CALCULATE(SUM(Table1[Words]), ALLEXCEPT(Table1, Table1[Vendor], Table1[YearMonth])))

Capture.PNG 

 

Regards,

Jimmy Tao

LivioLanzo
Solution Sage
Solution Sage

Hi @Anonymous

 

check the file here: https://1drv.ms/u/s!AiiWkkwHZChHj1CvCpKtyEyBnx6D

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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