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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
SkorpionAAM
Helper V
Helper V

Need maxx

I have function i need to add max date in this function i tried but getting error
 
 
UNQExpected = sumx(Summarize('mms Statistics', 'mms Statistics'[run_name_segement] ,'mms Statistics'[layername] ,'mms Statistics'[Expected]),[Expected])
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SkorpionAAM ,

 

If you want to get the maximum [Expected] of each 'mms Statistics (2)'[run_name_segement])  and  'mms Statistics (2)'[layername] ? If so , please try:

MAXX = MAXX(FILTER(ALL('mms Statistics (2)'),[run_name_segement] =MAX('mms Statistics (2)'[run_name_segement]) && [layername] =MAX('mms Statistics (2)'[layername])),[Expected])

 

If not,  can you please share more detail information about the logic of MAX  to help us clarify your scenario?
 
 
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

10 REPLIES 10
Anonymous
Not applicable

Hi @SkorpionAAM 

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @SkorpionAAM ,

 

If you want to get the maximum [Expected] of each 'mms Statistics (2)'[run_name_segement])  and  'mms Statistics (2)'[layername] ? If so , please try:

MAXX = MAXX(FILTER(ALL('mms Statistics (2)'),[run_name_segement] =MAX('mms Statistics (2)'[run_name_segement]) && [layername] =MAX('mms Statistics (2)'[layername])),[Expected])

 

If not,  can you please share more detail information about the logic of MAX  to help us clarify your scenario?
 
 
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PaulDBrown
Community Champion
Community Champion

You can share the PBIX from Google Drive for example. 
Also check out this thread to see if it helps:

https://community.powerbi.com/t5/Desktop/MAX-date-by-group/m-p/2342732#M845015 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






any luck ???

Sorry but which unique value do you wish to calculate and what visual are you placing it in? Please provide a depiction of the visual

At a guess:

Latest value.jpg





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






i tred this but no success

PaulDBrown
Community Champion
Community Champion

Please provide sample data and a depiction of the expected output to help us understand what you need and provide a working solution.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






I want Unique value of latest Date group by Layname,Run Name Segmenr and Latest Date .. 

 

I can share the Power Bi File If you want please let me can i share the file on Google Drive>>

 

How can i share Sample data Or Power BI file

SkorpionAAM
Helper V
Helper V

aNYONE  Please 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.