Thank you very much, Almost done. I also have a condition for the gallery.
I have the gallery sorted based on the value of a dropdown
SortByColumns(LIPDatabase,CustomerID=Value(Label12.Text),"Title",Ascending,"ItemID",Ascending)
I had this formula before and it was working fine but only sorting based on title
Sort(Filter(LIPDatabase,CustomerID=Value(Label12.Text)),Title,Descending)
Any idea?