Hi,
I decided to rewrite the Sorting function as I wanted another Screen to also have the sort function but I am having trouble getting it to work. I am still new to PowerApps and dont understand what isnt work. It is mostly likely because it is a copy of the code the PowerApps produce when you make an app with your data. The code that I added into the Gallery is working fine. (The code I got for it in the picture below.)
But the error I am getting is coming from the UpdateContext. (The code I got for it in the picture below.)
I did try reading the Microsoft Documents about the sorting function but it didnt really make sense.
Solved! Go to Solution.
Hi @AliciaMunt
I think this is just a typing mistake in your formula. Notice how the 'd' is missing in the highlighted part of your formula.
If you correct the error like so, the error should go away.
UpdateContext({SortDescending1:!SortDescending1})
Hi @AliciaMunt
What exactly is the error message that you get with UpdateContext?
Sorry! I didnt even think of sending that, here is the error message I am getting.
Hi @AliciaMunt
I think this is just a typing mistake in your formula. Notice how the 'd' is missing in the highlighted part of your formula.
If you correct the error like so, the error should go away.
UpdateContext({SortDescending1:!SortDescending1})
I knew it was going to be as simple as that! Thank you.
You're welcome, glad that helps!
User | Count |
---|---|
214 | |
95 | |
88 | |
49 | |
37 |
User | Count |
---|---|
271 | |
104 | |
103 | |
60 | |
59 |