Hello there!
I am having a gallery which I want sorted based on a column in my database.
It has a few values like these for example, which are the floor levels;
V1
V2
V3
V4
....
V11
etc
Now I can't filter the gallery based on that value since it isn't a number, because the V in front of it. I've made this formula to only get the floor level;
If(Len(TestLabel.Text) = 2; Right(TestLabel.Text; 1); Right(TestLabel.Text; 2))
So now that I have the floor level, I tried to Sort the gallery by simple doing this code but it gives me the error that I can't do it like this. How can I fix this?
Sort(
If(
DropdownDeelorder.SelectedText.Result = "All";
OpleverApp;
Filter(
OpleverApp;
DropdownOrder.SelectedText.Result = Order && DropdownDeelorder.SelectedText.Result = Deelorder
)
); Text(TestLabel.Text))