Forum Discussion
SivaMani
7 years agoResident Rockstar
Page level filter - Filter a table with 100+ values
Hello folks,
I have a situation that I have to filter 100+ value on a table.
- I had a look at the Power Query(List.Contains). It won't help in my case
- The column that I'm trying to filter has 250+ unique values
Please do help me with this. Thanks in advance
6 Replies
- AlBCommunity Champion
Hi SivaMani,
It would help if you show a sample of your data. Try this:
1. Get the 100+ values you want to use for filtering in a one-column table. Let's assume we name it
AuxTable[Values]
2. Create a new calculated table by filtering the original table using that auxiliary table:
NewTable = FILTER ( Table1, Table1[ColumnToFilter] IN DISTINCT ( AuxTable[Values] ) )
- v-lili6-msftCommunity Support
hi, SivaMani
In power query, you could try this way:
Get the 100+ values you want to use for filtering in a one-column table.
Then click Convert to List as below:
Now, use Power Query(List.Contains) to add a custom column( flag)
List.Contains(#"Category",[Category])
Then use this column to filter the data.
Best Regards,
Lin