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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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