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! Learn more

Reply
Prathameshsable
Kudo Collector
Kudo Collector

Maxx of a dynamic measure with all selected not working

IdProduct NrTotal Count of runsMAXCount
R111451454315
R600451454315
R811351454355
R1114525497517
R6020525497317
R81135254971717

 

The above is my table, wherein Total count of runs is a dynamic measure and caculates the values dynamically. however, when I create a MAXX to create the MAX count column, it does not work. I tried creating calculcations based on summarize, allselected, values but none of them are giving the correct output. need help is solving the query

1 ACCEPTED SOLUTION

Those answers seem correct.  For 437725, the max is 2 and for 437745, the max is 3.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

Does this measure work?

Measure = MAXX(ALL(Data[ID]),[Total Count of runs])

If it does not, then share the download link of the PBI file.  Show the visual where you want to see this result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

not really, using the above. Because here need to look at the productNr and not ID.  If you look at the below example; the max value should have been 3, but it gives 2 and 3 both

 

Prathameshsable_0-1712561051588.png

 

Those answers seem correct.  For 437725, the max is 2 and for 437745, the max is 3.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Yes, it was solved the same day with the same measure. Sorry for the late response and thanks for the measure.

Prathameshsable
Kudo Collector
Kudo Collector

Further adding to the reply, I tried looking at various posts and comments in the community provided tried maxx(Allselected) combination as well, but they do not seem to work.

 

Actually I am trying to evaluate a sumproduct function in powerbi which can be achieved via sumX wherein it looks for the max value, so if I get the max value against the product number I can easily calculate the condition

Prathameshsable_0-1712559591135.png

@amitchandak @lbendlin @Ritaf1983 @Idrissshatila @Ashish_Mathur 

 

 

 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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