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

Re: get where function

2 REPLIES 2
hpkeong
Level 10

Re: get where function

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

Re: get where function

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,851)