Hi,
I'm pretty new to Power Apps and having a problem I can't quite solve with the resources I found online, especially in this forum.
I've created a Gallery inside a Container, that Gallery works on an Entity as its data source (I hope I'm using the right vocabulary), the "Items" code is: "Filter(Entity; 'Entity (Views)'.'View'). I've translated this from German.
I've then added another Label to the Gallery that is used to calculate and display something using data from another entity:
Sum(Filter(Entity_2; Entity_2_Column1.Name = ThisItem.Name; DateDiff(Entity_2_Column2;Today();Days)<=7);Entity_2_Column3)
Entity_2_Column1 is a lookup column pointing to the Entity the Gallery uses as data source.
I would now like to sort the Gallery by the calculated values displayed in the Label's Text. How can I do that?
Thank you!