cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Field
Helper V
Helper V

Check if person is in person column

Hello there, 

 

I have added a Person/Group column to the sharepoint.

There is only one item on that list, and that column contains 2 people.

Jane Doe and John Doe (In the column they are "Jane DoeJohn Doe", they are not separated)

 

If I do an if statment like:
If(!IsBlank(Filter(ExampleList, "jowdijowiqjwd" in ColumnPerson.Email)); true; false)

 

It will always give me true, even if that email exists or not in that list.

I can put some random variable and it will always give me TRUE. 

 

How can i fix this?

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User III
Super User III

@Field 

You should use ISEMPTY instead of ISBLANK..

 

If(!IsEmpty(Filter(ExampleList; "jowdijowiqjwd" in ColumnPerson.Email)); true; false)

 

ISEMPTY checks if any records were returned in a table.  ISBLANK checks if a text string or a number is null.

---


Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

 

View solution in original post

3 REPLIES 3
mdevaney
Super User III
Super User III

@Field 

You should use ISEMPTY instead of ISBLANK..

 

If(!IsEmpty(Filter(ExampleList; "jowdijowiqjwd" in ColumnPerson.Email)); true; false)

 

ISEMPTY checks if any records were returned in a table.  ISBLANK checks if a text string or a number is null.

---


Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

 

View solution in original post

Thx, that helped. 

 

If i wanted to filter with other columns (per example text), it will bug out because im not using "IsBlank()"

 

Any ideia how to fix this?

@Field 

I'm not really sure what you are asking here.  Maybe post it as a new question and I'll take a look?  If I can't answer it someone else will likely pick it up fast!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (905)