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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Saxon10
Post Prodigy
Post Prodigy

Group by column without duplication

Hi,

 

I have a one table and it's contain the following columns are Name code, Name and Team.

 

The Name and Team has duplicate entry against each Name code.

 

I am trying to get the unique name by team from the Table by using "New Table " option.

 

I am trying to apply the following DAX =summarize(Table, Table (Name), Table (Team), "Filter not equal to no", Table (Team) <>"No" but its not filter the column but its return true or false.

 

I want to ignore the "No" columns row from the table. I trying to get the unique Name by Team from the table.

 

Any suggestions that would be great. 

 

Thank you. 

IMG_20220214_190522.jpg

1 ACCEPTED SOLUTION

@Saxon10: Yes, it will. Here is a link to a .pbix file in case it's helpful.

 SteveHailey_0-1644871718512.png     SteveHailey_1-1644871740458.png

 

View solution in original post

4 REPLIES 4
SteveHailey
Solution Specialist
Solution Specialist

Hi @Saxon10.

This is one way:

New Table = 
FILTER( 
    ALL( 'Table'[NAME],'Table'[TEAM] ),
    'Table'[TEAM] <> "NO"
)

@SteveHailey,

 

Thanks for your reply. 

 

it will give a unique name by team? 

@Saxon10: Yes, it will. Here is a link to a .pbix file in case it's helpful.

 SteveHailey_0-1644871718512.png     SteveHailey_1-1644871740458.png

 

Thanks for your reply and its working fine. 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.