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

Top Solution Authors
Top Kudoed Authors