cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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

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

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
Frequent Visitor

Re: Filter with two options as a data type

It's working! Thank you so much!

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Users online (9,291)