Thank you for taking the time to read my question.
I have a table with many columns. I want to show the results in a Gallery, however at any given time, some columns are useful and others are not.
Is there a way to allow the user to select what columns they want to see and hide the rest?
I tried the following but PowerApps doesn't like it... I did 🙂
ForAll(colFields As tVal,If(!IsBlank(LookUp(colFields,tVal.tFields = tFields)),UpdateContext({"varVis" & tVal.tFields:true}) ,UpdateContext({"varVis" & tVal.tFields:false})))
I was thinking I could make up the Context variable name on the fly based on a string and the current value in the ForAll, but that's failing. Of course I can't use Set() either.
Is this possible?
Thanks