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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.