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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Dayna
Helper V
Helper V

Minimum value between two summed values / measures

Hi All,

 

I'm trying to get the minimum value of two summed values, or measures (whichever is easier!). 

 

I have a table visualisation at the moment which shows various fields across multiple tables, and I have a field for 'Receipt Quantity' from the table RCT-PO, and a field for 'Sold Quantity' from the table ISS-SO. On my table at the moment, these values are summed as it's multiple rows that are just summarised on the table.

 

What I'd like to do is have a measure that gives me the smallest value between the total of Receipt Quantity and Sold Quantity based on the filters applied in the report.

 

Can someone assist? I've managed to do a MINX with UNION, but this brings back the smallest single value (i.e. one row), not the sum of all the rows for this value. 

 

Many thanks,

Dayna

2 REPLIES 2
Dayna
Helper V
Helper V

I should have kept it simple! Thank you!

Greg_Deckler
Super User
Super User

@Dayna Use MIN( [Measure1], [Measure2])



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.