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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors