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
jlarques
Resolver I
Resolver I

Get minimum value from a table

Dear all,

I have a table with:

  • Petrol product
  • Petrol supplier
  • Price
  • Petrol type

I have another table with cars that contain a column with Petrol type. I want that when the user chooses a car, I can show it the lowest price, Petrol product and Petrol supplier to recommend it for this car.

I tried with ROW, SELECTCOLUMNS and other DAX instructions but anything works.

Do you know how can I do it?

Thanks, everyone for your help!

Regards,

 

José Luis

2 REPLIES 2
amitchandak
Super User
Super User

@jlarques ,

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.

Hi @amitchandak ,

 

here you can see two pictures. One is the Petrol table and the other one is the result that I want to get it(it's in a square to the left side in white, depending on what car the user chooses.

Thanks for your help.

Main data table.jpgFinal result.jpg

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.

Top Solution Authors