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

Filter with two options as a data type

How do I use the filter function with yes/no as two options data type (common data service) in PowerApps? I can do the filter function with yes no options using the SharePoint field like this Filter(DataSource, IsField = true) 

 

I tried this but it's not working 

Filter([@DataSource], 'IsField (DataSource)'.Yes).

 

Please help.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Level 10

Re: Filter with two options as a data type

Hi @ruchiga ,

 

Please try with this formula:

Filter([@DataSource], IsField = 'IsField (DataSource)'.Yes)

Snipaste_2019-10-16_10-55-14.png

Hope this can help.

Best regards,

Sik

View solution in original post

2 REPLIES 2
v-siky-msft
Level 10

Re: Filter with two options as a data type

Hi @ruchiga ,

 

Please try with this formula:

Filter([@DataSource], IsField = 'IsField (DataSource)'.Yes)

Snipaste_2019-10-16_10-55-14.png

Hope this can help.

Best regards,

Sik

View solution in original post

Highlighted
ruchiga
Level: Powered On

Re: Filter with two options as a data type

It's working! Thank you so much!

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 (5,169)