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

Gallery Formula help

I currently have a search enabled on my gallery;

Search(DS_Howdoi,TextInput1.Text,"Title")

I would like to also add the functionality to filter the gallery by a key word in one of the columns in SP list by using checkboxes.

Any help woudl be greatly appreciated

 

5 REPLIES 5
Highlighted
Microsoft Employee

Re: Gallery Formula help

Hello @BenGillard, Looks like the "Filter" function would be better suitable for this. Example: Filter(YourSource, If(CheckBox1.Value, Column1="Value1", CheckBox2.Value, Columjn2="Value2))
Community Support Team
Community Support Team

Re: Gallery Formula help

Hi @BenGillard,

Do you want to filter your Gallery items based on the Checkbox control?

I have made a test on my side, please take a try with the following workaround:7.JPG

 

8.JPG

Set the Items property of the Gallery control to following:

Filter(
Search('20181122_case14', TextSearchBox1.Text, "ProductName"),
If(Checkbox1.Value=true, Status.Value="Approved",true)
)

On your side, you should type:

Filter(
Search(DS_Howdoi, TextInput1.Text, "Title"),
If(Checkbox1.Value=true, FilterColumn="Key Word",true)
)

Note: The FilterColumn represents the column in your SP list, which you use to filter your Gallery items based on the Checkbox control.

The GIF screenshot as below:Test1.gif

More details about Filter function, please check the following article:

Filter function

 

Best regards,

Kris

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

Re: Gallery Formula help

Thanks for your response,

I did have this working with one check box already using the following:

 

This have very similar behavior to the demo in your post. I however need to include 4 checkboxes, instead of just one to help users filter results.

Search(If(ConnectCheck=true,Search(DS_Howdoi,"Connect","Category"),DS_Howdoi),
TextInput1.Text,"Title")

I have included a screen shot of the checkboxes:

 

Test10.PNG

 

Thanks

Community Support Team
Community Support Team

Re: Gallery Formula help

Hi @BenGillard,

Have you taken a try with the solution I provided?

Have you solved your problem?

If you have solved your problem, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify.

 

Best regards,

Kris

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

Re: Gallery Formula help

Hi,

I had this part you demonstarted working initially, it was trying to get 4 checkboxes all operational and not just one that was the initial issue, which unfirtuantly i am yet to resolve.

Thanks

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 17 members 4,279 guests
Please welcome our newest community members: