cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Glaga
Level: Powered On

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
Community Support Team
Community Support Team

Re: Filter Galery with 3 text box

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
Glaga
Level: Powered On

Re: Filter Galery with 3 text box

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))

Community Support Team
Community Support Team

Re: Filter Galery with 3 text box

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,515)