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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Filter a table by the minumum value of a column in DAX

Hello,

In DAX, I'd like to select a table filtered by the minimum value of a column. Here's how the table is determined

 

A B C 

1 0 Red

2 0 Red

2 1 Blue

2 2 Blue

3 1 Blue

3 2 Red 

 

A is the table identifier, B is the column from which I want to filter by the minimum, and C is an auxiliary column that I want to keep as is.

 

As a result, I would like to

 

A B C

1 0 Red

2 0 Red

3 1 Blue

 

I'm trying SUMMARIZE and LEFTJOIN but I'm not getting the results I want. What can I do?

 

Thanks in advance for your help 

 

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,
Try creating a table using the below DAX

Table = SUMMARIZE(Table4, Table4[A], "B", MIN(Table4[B]), "C", CALCULATE(MAX(Table4[C]), Table4[B] = MIN(Table4[B])))

 

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors