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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Darrellfone
New Member

Minimum Value of a column based on other column vlaue

Hi there 

I am new to PowerBI so please excuse the simplicity of my question

I have returned data I need to display in to the PowerBI report and can do simple Transformation routines.

However I have too much data and now want to only show the minimum Value of column B based on the value in column A

 

Simple data set

Column A Row 1 = W-001 Column B = 20

Column A Row 2 = W-001 Column B = 30

Column A Row 3 = W-001 Column B = 40

Column A Row 4 = X-002 Column B = 80

Column A Row 5 = X-002 Column B = 90

Column A Row 6 = X-002 Column B = 100

 

I want to filter this data so that I only see 

Column A Row 1 = W-001 Minimum Value Column B = 20

Column A Row 2 = X-002 Minimum Value Column B = 80

 

Any help would be appreciate 

Best regards Darrell

2 ACCEPTED SOLUTIONS
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

I tried to create a sample pbix file like below.

 

Jihwan_Kim_0-1732037193093.png

 

 

 



Microsoft MVP



If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.




LinkedInVisit my LinkedIn page




Outlook BookingSchedule a short Teams meeting to discuss your question



View solution in original post

Anonymous
Not applicable

Hi @Darrellfone ,

 

If you need to create measure, you can use the following expression:

Measure = CALCULATE(MIN('Data'[B]),ALLEXCEPT('Data','Data'[A]))

vtianyichmsft_0-1732066769982.png

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Darrellfone ,

 

If you need to create measure, you can use the following expression:

Measure = CALCULATE(MIN('Data'[B]),ALLEXCEPT('Data','Data'[A]))

vtianyichmsft_0-1732066769982.png

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

I tried to create a sample pbix file like below.

 

Jihwan_Kim_0-1732037193093.png

 

 

 



Microsoft MVP



If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.




LinkedInVisit my LinkedIn page




Outlook BookingSchedule a short Teams meeting to discuss your question



Thanks 

I have managed to solve the issue now TVM 🙂 😀

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors