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

ruchiga
Frequent Visitor

Re: Filter with two options as a data type

It's working! Thank you so much!

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Users online (6,063)