Forum Discussion
daved2424
Jan 30, 2023Copper Contributor
Creating comma deliniated list from filtered rows in a table
Hello
I have a table where column 1 is an index number. I then filter this table based on the values in another column.
I want to be able to return all the values from the index column into a comma deliniated string. I am using the following to do this:
=TEXTJOIN(",",TRUE,Table1[Index])
The problem with this is it returns the values for all rows. Which function can I use to amend it so that it only returns values for the visible filtered rows?
Many thanks in advance
- OliverScheurichGold Contributor
- daved2424Copper ContributorUnfortunately not as that requires hard-coding the filter value into the formula. I need it to dynamically update as filters are applied.
- OliverScheurichGold Contributor
=TEXTJOIN(",",TRUE,FILTER(Tabelle2[index],Tabelle2[value]>17))
If you work with a dynamic table you can reference dynamic columns instead of hard-coded ranges.