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

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
Highlighted
Helper I
Helper I

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

Highlighted
Community Support
Community Support

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
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,386)