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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Get Max and Minimum

Goal: Get Minimum and Maximum value from this table

ProductAcctNbrARPUMinMax
A1500100500
A2200100500
A3100100500
B4503050
B5403050
B6303050

 

What I am getting is same values for max and minimum. If I remove AcctNbr I want to be able to get 100 for A (min) and 500 for A (max)

 

ARPU is a measure field. 

 

When I use MIN or MAX(ARPU), it says that I can only use it if ARPU is a column field. 

1 ACCEPTED SOLUTION

Have you tried MAXX function here, MAXX function (DAX) - DAX | Microsoft Learn

 

Ritesh

View solution in original post

5 REPLIES 5
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could create a measure.

Min = 
MINX(ALLEXCEPT('Table','Table'[Product]),[ARPU])
Max = MAXX(ALLEXCEPT('Table','Table'[Product]),[ARPU])

The final show:

vyalanwumsft_0-1668669232817.png

Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ribisht17
Super User
Super User

@Anonymous 

 

Use below DAX

 

1. 

Max ARPU Per Product = CALCULATE(max(MinMax[ARPU]),ALLEXCEPT(MinMax,MinMax[Product]))
 
2.
Min ARPU Per Product = CALCULATE(min(MinMax[ARPU]),ALLEXCEPT(MinMax,MinMax[Product]))
 
ribisht17_0-1668589846716.png

 

 
Regards,
Ritesh
Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !! PL 300 Certification Series
Anonymous
Not applicable

This is what I am getting: 

 

jdalfonso_0-1668589819192.png

 

Have you tried MAXX function here, MAXX function (DAX) - DAX | Microsoft Learn

 

Ritesh

Anonymous
Not applicable

Still not working.

 

ARPU = measure A + measure B... + measure E

 

What I am trying to do is Minimum of a measure of a measure

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.