Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I'm using following expression to show only such ProductNames for which the CategoryName has been selected within filter pane "CategoryName":
=aggr(only({<CategoryName={'$(=GetFieldSelections(CategoryName))'}>} ProductName), ProductName)
But it doesn't work when I select more then 1 CategoryName. (no Product appear in the filter pane)
Is there any way how to do it?
I really appreciate any help. 🙂
I misplaced a ")". Try this:
=aggr(only({<CategoryName={$(=if(GetSelectedCount(CategoryName) > 0,concat({$} chr(39)&CategoryName&chr(39),',')))}>} ProductName), ProductName)
Try this:
=aggr(only({<CategoryName={$(=if(GetSelectedCount(CategoryName) > 0,concat({$} chr(39)&CategoryName&chr(39)),','))}>} ProductName), ProductName)
Unfortunately it doesn't work - it only works for one Category selection, not more
I misplaced a ")". Try this:
=aggr(only({<CategoryName={$(=if(GetSelectedCount(CategoryName) > 0,concat({$} chr(39)&CategoryName&chr(39),',')))}>} ProductName), ProductName)
Perfect! Thank you so much!:)