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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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