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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vissvess
Helper V
Helper V

Power query remove duplicates column based on slicer selection

Hi,

 

My situation as follows. I have a table in query editor with column headers as follows.

 

Spec1   Spec2  Spec3  default1   default2 default3....

 

By default the table was removed duplicated in columns Spec1   Spec2  Spec3  default1   default2 default3.... as a whole

That is all the mentioned colums are selected and right click --> remove duplicates.

 

But I need a slicer in my visualisation that to select one or multiple choices among spec1/2/3 to enable the removed duplicate query step including only them along with default columns.

 

For example if spec1 & spec3 are selected in slicer, i need that the remove duplicates are based on columns Spec1   Spec3  default1   default2 default3.... only.

 

This post is extension of the situation posted in merge query colums selection based on slicer selection.

 

Any small help would be appreciated.

 

Thanks in advance.

1 REPLY 1
Anonymous
Not applicable

Tables are only updated at refresh time, so a slicer cannot have this affect.  

 

But with that being said,  you can use a slicer value to create a virtual table and use that for a measure. 

 

Can you upload some sample data with your expected output?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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