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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
leonardoficz
Regular Visitor

Another MIN problem

Hello nice people =]

I have a problem with that thing here:

problem.jpg

This is a shipping cost table. I need to get only the min value for each area (AC Capital, AC Interior, AL Capital, AL Interior and so on) and the name of the Shipping Company that has that value. Right now it gives me the min cost for each Shipping Company in my table.

1 ACCEPTED SOLUTION

Well it worked, thank you so much @Fowmy 

View solution in original post

3 REPLIES 3
Fowmy
Super User
Super User

@leonardoficz 

Insert a table visual, add the Area and the following measure to it:

Min Value = 

VAR __MINVAL = MIN(Table01[Min Shipping])
VAR __CO = CALCULATE( MAX(Table01[Shipping Co.]) , Table01[Min Shipping] = __MINVAL )
RETURN
    __CO

 

Fowmy_0-1619264947941.png

 

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Well it worked, thank you so much @Fowmy 

jaideepnema
Solution Sage
Solution Sage

Hi @leonardoficz ,
is it possible for you to share a sample file with sensitive data removed ?

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.