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

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.

View solution in original post

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.
Anonymous
Not applicable

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.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,320)