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

Gallery Filter Out Based on Excel Value

Hey all,

 

I just want to preface that I'm pretty new to power apps.

 

I'm trying to make a gallery that is searchable and filters out based on the value of a column I have in an excel sheet called "EmailConfirmSent", if this is set to "Y" I don't want it to show up in the gallery.

 

Intool Home Screen.png

 

SortByColumns(Search([@IntoolsTracking],SearchText.Text,"Project","Deliverable","DSNumber"), "Project", Ascending)

 

 

Thanks,

 

JT

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Gallery Filter Out Based on Excel Value

@DCGN2 

Try changing your formula to the following:

 

SortByColumns(
   Search(
     Filter([@IntoolsTracking], EmailConfirmSent<>"Y"),
     SearchText.Text, "Project", "Deliverable", "DSNumber"), 
   "Project", 
   Ascending
)

This will exclude any items that have a "Y" in the EmailConfirmSent column.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

6 REPLIES 6
Highlighted
Super User III
Super User III

Re: Gallery Filter Out Based on Excel Value

@DCGN2 

Try changing your formula to the following:

 

SortByColumns(
   Search(
     Filter([@IntoolsTracking], EmailConfirmSent<>"Y"),
     SearchText.Text, "Project", "Deliverable", "DSNumber"), 
   "Project", 
   Ascending
)

This will exclude any items that have a "Y" in the EmailConfirmSent column.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Highlighted
Super User III
Super User III

Re: Gallery Filter Out Based on Excel Value

@DCGN2 

Like this...

 

SortByColumns(
    Search(
        Filter([@IntoolsTracking], EmailConfirmSent<>"Y"),
        SearchText.Text,"Project","Deliverable","DSNumber"
    ),
    "Project",
    Ascending
)

 

---
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."

Highlighted
Super User III
Super User III

Re: Gallery Filter Out Based on Excel Value

Looks like @RandyHayes and myself had exactly same response so I'm sure it will work 😎

Highlighted
Super User III
Super User III

Re: Gallery Filter Out Based on Excel Value

@mdevaney  almost 😉 I saw that = to <> correction LOL

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Highlighted
Super User III
Super User III

Re: Gallery Filter Out Based on Excel Value

@RandyHayes 

Yup, I was like "wait a minute": maybe I can't just assume the poster will fill the column with "N".  Guess I have to revise, lol.

 

---
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."  

Highlighted
Super User III
Super User III

Re: Gallery Filter Out Based on Excel Value

@mdevaney I had that same thought...Great minds think alike!

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,509)