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

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (7,975)