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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
MarianneElver
Helper III
Helper III

How to filter out or "null" repeated occurrences of a product each customer

Any suggestions on how to achieve either 1) or 2)?

 

PBIHelp.PNG

2 ACCEPTED SOLUTIONS
Vvelarde
Community Champion
Community Champion

@MarianneElver

 

Hi, in Query Editor, select the 2 columns and go to Remove Rows - Remove Duplicates.

 

Regards

 

Victor

Lima - Peru




Lima - Peru

View solution in original post

Hi @MarianneElver

 

With DAX, you can use the "ALL" function to get unique combination of Rows.

From the Modelling Tab, select NEW TABLE and use this formula

 

NewTable= ALL(TableName[Customer] , TableName[Product])

View solution in original post

5 REPLIES 5
Bordalos
Helper I
Helper I

@MarianneElver not sure if I undertand clearly what you want. How the null get to the second table? Are  you looking just for a unique entry for each combination customer/Product ? if is that the case follow  @Vvelarde suggestion. If not ,please provide more details.

Hi @MarianneElver

 

With DAX, you can use the "ALL" function to get unique combination of Rows.

From the Modelling Tab, select NEW TABLE and use this formula

 

NewTable= ALL(TableName[Customer] , TableName[Product])

Thanks, that's good to know too - as I'm actually need this in a separate table.
Vvelarde
Community Champion
Community Champion

@MarianneElver

 

Hi, in Query Editor, select the 2 columns and go to Remove Rows - Remove Duplicates.

 

Regards

 

Victor

Lima - Peru




Lima - Peru

Hi, oh so simple, I was convinced that this method would remove duplicates in each column, and not considering the unique combinations. It works, thank you!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors