cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

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.

Users Online
Currently online: 81 members 4,903 guests
Recent signins:
Please welcome our newest community members: