Hello,
I am trying to make a galery that shows only part of the data of a Sharepoint list.
Those data have to be ordered, first by a collumn named "Etat_suivi", and then a collumn named "Date_previsionnelle".
On Sharepoint, the data types are "choise" for the "Etat_suivi" collumn and "date" for the "Date_previsionnelle" collumn.
The Filter fonction works with both data types but when I tried to use SortByCollumns, it worked on the "date" type but not on the "choise" type. The same problem appeared with the Sort function. I noticed that the data type of my "Etat_suivi" column is "complex" in PowerApps. The choises in "Etat_suivi" are on a text form.
Here is one of the formula I tried :
Sort(SortByCollumns(Filter(T_suivi_com;(Etat_suivi="Date à définir") Or (Etat_suivi="A publier") Or (Text(Date_reelle; "[$-fr]dd/mm/yyyy")= Text(Today(); "[$-fr]dd/mm/yyyy")));"Etat_suivi";["Date à définir";"A publier";"Publié"]);Date_previsionnelle)
Do you have a solution for me ?
Thank you.