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

get where function

Hi there,

 

is there a way to get all the values of a table with a specific value in another column

similar to a SQL GET WHERE statement?

For Example: I'd like to get all the names from the column NAMES where the Status from column STATUS is active.

The SQL statement should look something like this: Get NAME From NAMES Where STATUS='active'

 

How do I do this in PowerApps?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

2 REPLIES 2
hpkeong
Community Champion
Community Champion

Hi

 

The equivalent formula shall be something as following:

Gallery.Irtems =

Filter(Names, Status = "active") or

Searc(Names, active, Status) 

 

Then just select field with "Name" to show.

 

Please see this link.

https://powerapps.microsoft.com/en-us/tutorials/function-filter-lookup/

 

Hope this helps.

hpkeong
Anonymous
Not applicable

Nice thank you

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,127)