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

search a collection

Hello Powerapps,

I want to search a collection's column and see if there are blanks in columns or zero.

How Would I do this?

 

Thanks PowerApps,

AskingQuestions

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: search a collection

Is the text label showing the results of the collection. If so , then the label text property would look something like this:

 

If(IsEmpty(Filter('DataSourceName', 'ColumnName' = Blank() || 'ColumnName' = "0")), "True", "False")



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
3 REPLIES 3
Super User
Super User

Re: search a collection

This simple Filter formula should do the trick. If the 0 is a number and not text then remove the double quotes from "0".

Gallery > Items:

Filter('DataSourceName', 'ColumnName' = Blank() || 'ColumnName' = "0")



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Re: search a collection

HI @Jeff_Thorpe,

 

I was hoping that this could be a boolean operator that I could put in a text label. 

 

Sorry, I wanted it to give me true when there was not any blanks or zeros.

 

Thank You,

AskingQuestions

Super User
Super User

Re: search a collection

Is the text label showing the results of the collection. If so , then the label text property would look something like this:

 

If(IsEmpty(Filter('DataSourceName', 'ColumnName' = Blank() || 'ColumnName' = "0")), "True", "False")



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 4 members 3,077 guests
Please welcome our newest community members: