Hi everyone!
I have an app linked to a sharepoint list. I have a screen which I use a dashboard, in this screen I have some indicators that are calculated using the CountIf formula. I would like to set a variable based on this numbers, when the sum of them is 0, I would like my gallery to change its navigation conditions (attached photo of the dashboard).
The CountIf formula I am using is the following (this formula works perfectly):
CountIf(SPList;Colum1 = ThisItem.Result && 'Colum2'= "YES")
CountIf(SPList;Colum1 = ThisItem.Result && 'Colum2'= "NO")
and so on...
Then, I would like something like this (but this formula does not work):
Set(Variable1;CountIf(SPList;Colum1 = ThisItem.Result && 'Colum2'= "YES"))
Set(Variable2;CountIf(SPList;Colum1 = ThisItem.Result && 'Colum2'= "NO"))
And then, change the OnSelect properties of my gallery using something like this:
If(Variable1+Variable2+Variable3=0;Navigate(Screen1);Navigate(Screen2))
I need help with all those formulas. Is possible to achieve what I want?
Many thanks!