Showing results for 
Search instead for 
Did you mean: 
Impactful Individual
Impactful Individual

Can't Filter Sharepoint source based on Choice column to populate Gallery

Hi all!


I am trying to populate a Gallery's Items based on a check and a Filter function:

If(EmployeeEmailAddress = "", Filter(source, SharePointChoiceColumn, "SharePointChoiceColumnValue"))

 but it seems to have issues and it is not working.

I have tried the following which works:

Filter(source, SharePointChoiceColumn, "SharePointChoiceColumnValue")

So this tells me that the If statement is the issue here... But why?

I need to be able to check based on my EmployeeEmailAddress value what records to get from SharePoint.


Something between these lines is what i want (nested checks):

If(EmployeeEmailAddress = "", Filter(source, SharePointChoiceColumn, "SharePointChoiceColumnValue"), If(EmployeeEmailAddress = "", Filter(source, SharePointChoiceColumn, "AnotherSharePointChoiceColumnValue")))


Can anyone suggest me a way of achieving what i want and explain why this is not working?

Kind regards!


Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (88,978)