cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Filter Galery with 3 text box

Hello,

I would like to make a search filter with 3 text box.
This is a client list
The search columns are as follows:
-Customer name
-Langage_Client
-Systeme_Client

How can I impute the 3 text boxes in my gallery item?

Screen in PJ

thank you very muchAnnotation 2019-10-22 183708.png

 

 
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Glaga ,

Do you want to filter your Gallery Items based on the these search filter columns?

Could you please share a bit more about your issue?

Further, Are the Nom_CL and tri_CL both columns in your CLIENT_CL data source?

 

Based on the formula you provided, I think there is something wrong with it. I have made a test on my side, please consider modify your formula as below:

If(
Check_mesCLIENTS.Value=true; SortByColumns(
Filter(
CLIENT_CL;
RechercheBOX_CL.Text in Nom_CL;
RechercheBox_Langage_CL.Text in LangageDev_CL;
RechercheBox_System_CL.Text in SystemeInfra_CL;
Responsable_CL=User().FullName;
ETAT_filtre="ALL" || Etat_CL = ETAT_filtre
);
Nom_CL; SortOrder.Descending;
tri_CL; SortOrder.Descending
);
SortByColumns(
Filter(
CLIENT_CL;
Or(
RechercheBox_System_CL.Text in SystemeInfra_CL;
And(
RechercheBOX_CL.Text in Nom_CL;
ETAT_filtre="ALL" || Etat_CL=ETAT_filtre;
RechercheBox_Langage_CL.Text in LangageDev_CL
)
)
);
Nom_CL; SortOrder.Descending;
tri_CL; SortOrder.Descending
)
)

Note: I assume that the Nom_CL and tri_CL both columns in your CLIENT_CL data source.

 

Please consider take a try with above solution, then check if the issue is solved.

 

More details about the SortByColumn function in PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Helper I
Helper I

Mon code : 

 

If(Check_mesCLIENTS.Value=true;
Sort(Filter(CLIENT_CL; And(RechercheBOX_CL.Text in Nom_CL;RechercheBox_Langage_CL.Text in LangageDev_CL;RechercheBox_System_CL.Text in SystemeInfra_CLResponsable_CL=User().FullName; Or(ETAT_filtre="ALL"; Etat_CL=ETAT_filtre)));Nom_CL;tri_CL);Sort(Filter(CLIENT_CL;Or(RechercheBox_System_CL.Text in SystemeInfra_CL ;And(RechercheBOX_CL.Text in Nom_CL; Or(ETAT_filtre="ALL"; Etat_CL=ETAT_filtre);RechercheBox_Langage_CL.Text in LangageDev_CL)));Nom_CL;tri_CL))

Hi @Glaga ,

Do you want to filter your Gallery Items based on the these search filter columns?

Could you please share a bit more about your issue?

Further, Are the Nom_CL and tri_CL both columns in your CLIENT_CL data source?

 

Based on the formula you provided, I think there is something wrong with it. I have made a test on my side, please consider modify your formula as below:

If(
Check_mesCLIENTS.Value=true; SortByColumns(
Filter(
CLIENT_CL;
RechercheBOX_CL.Text in Nom_CL;
RechercheBox_Langage_CL.Text in LangageDev_CL;
RechercheBox_System_CL.Text in SystemeInfra_CL;
Responsable_CL=User().FullName;
ETAT_filtre="ALL" || Etat_CL = ETAT_filtre
);
Nom_CL; SortOrder.Descending;
tri_CL; SortOrder.Descending
);
SortByColumns(
Filter(
CLIENT_CL;
Or(
RechercheBox_System_CL.Text in SystemeInfra_CL;
And(
RechercheBOX_CL.Text in Nom_CL;
ETAT_filtre="ALL" || Etat_CL=ETAT_filtre;
RechercheBox_Langage_CL.Text in LangageDev_CL
)
)
);
Nom_CL; SortOrder.Descending;
tri_CL; SortOrder.Descending
)
)

Note: I assume that the Nom_CL and tri_CL both columns in your CLIENT_CL data source.

 

Please consider take a try with above solution, then check if the issue is solved.

 

More details about the SortByColumn function in PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,002)