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
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
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.