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

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 (1,023)