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
selected_
Helper IV
Helper IV

Possible to recalculate a measure to another measure again?

If I have a measure already that name Selling Price, the measure selling price look like this

AVERAGE('Products'[UnitPrice]) * ([Total Discount])
 
can I then create a new measure and calculate MAX and MIN for the measure?
 
I tried with this  MAX of Selling price = CALCULATE(MAX([Selling Price])) 
 
but got error.
1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi @selected_

 

Yes,you can create 2 measures similarly as below:

Min sales price = MinX(VALUES('Table'[UnitPrice]),'Table'[Selling Price])
Max sales price = MAXX(VALUES('Table'[UnitPrice]),'Table'[Selling Price])

And you will see:

Annotation 2020-09-11 101643.png

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi @selected_

 

Yes,you can create 2 measures similarly as below:

Min sales price = MinX(VALUES('Table'[UnitPrice]),'Table'[Selling Price])
Max sales price = MAXX(VALUES('Table'[UnitPrice]),'Table'[Selling Price])

And you will see:

Annotation 2020-09-11 101643.png

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Greg_Deckler
Community Champion
Community Champion

@selected_ This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149

The pattern is:
MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
etc.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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 Kudoed Authors