I have a dashboard that contains a table based on a Layer, Table type: Features. I use a Header: Category Selector: Grouped values based on the fields in the table that filters the table.
I am looking for a way to return various columns from said table based on the selection from the category selector using arcade expressions. (or alternatively return various tables with the columns pre-determined selected by the selector)
I have looked through the arcade documentation and have not found a callable function for calling the category selector.
iif (Category Selector(1)=A:
return{cells:{col1:{...},col2:{...}, col3:{...}}}
else iif (Category Selector(1)=B:
return{cells:{col1:{...},col2:{...}, col3:{...}, col4:{...}}}
else iif (Category Selector(1)=C:
return{cells:{col2:{...}, col3:{...}, col4:{...}}}