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 Data and show only one date per record

Hello Community, 

 

I am currently trying to find a way to permanent filter the Sequence E2E and Sub-Group Sequence E2E below from multiple rows with the same vendor name/ number. I want to only show the lowest number of Sequence E2E and Sub-Group Sequence E2Eper vendor name/vendor Number. 

 

For Example: with Vendor Name Aladdin Temp Rite i want to only show Sequence E2E and Sub Group Sequence E2E to 1 and 1. 

 

Thank you so much for helping me, 

 

 

 

lbnguyn_0-1598887300248.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You could create a measure as below to get the min value of each vendor name/vendor Number.

Measure = CALCULATE(MIN('Table'[value1]),ALLEXCEPT('Table','Table'[ID]))

Measure 2 = CALCULATE(MIN('Table'[value2]),ALLEXCEPT('Table','Table'[ID]))

1.PNG 

Then create another measure to compare the record with these min value.

Measure 3 = IF(SELECTEDVALUE('Table'[value1])=[Measure]&&SELECTEDVALUE('Table'[value2])=[Measure 2],1,0)

2.PNG

At last, add the second measure to filter.

3.PNG

 

Best Regards,

Jay

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

You could create a measure as below to get the min value of each vendor name/vendor Number.

Measure = CALCULATE(MIN('Table'[value1]),ALLEXCEPT('Table','Table'[ID]))

Measure 2 = CALCULATE(MIN('Table'[value2]),ALLEXCEPT('Table','Table'[ID]))

1.PNG 

Then create another measure to compare the record with these min value.

Measure 3 = IF(SELECTEDVALUE('Table'[value1])=[Measure]&&SELECTEDVALUE('Table'[value2])=[Measure 2],1,0)

2.PNG

At last, add the second measure to filter.

3.PNG

 

Best Regards,

Jay

Greg_Deckler
Community Champion
Community Champion

@Anonymous - Are you trying to do this in Power Query or create a new table using DAX or ?

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hello, I am trying rebuilt the table using DAX

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.

Top Solution Authors
Top Kudoed Authors