web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to select value fr...
Power Apps
Answered

How to select value from 1000 rows in Azure SQL?

(0) ShareShare
ReportReport
Posted on by 18

1) I have 1000 rows in project table in Azure SQL. It contains project names and status.

2) I would like to create feature in PowerApps where end-user can input project name like "Toyota project" and PowerApps list project name from Azure SQL matching criteria.

3) I would like to then select the project and "Activate" the project, which update SQL table status value. 

 

 

Categories:
I have the same question (0)
  • Meneghino Profile Picture
    6,949 on at

    2) GalleryProjects.Items = Search([dbo.MyProjects], TextInputProjectSearch.Text, ProjectName)

    3) IconActivate.OnSelect = Patch([dbo.MyProjects], {ProjectId: ThisItem.ProjectId}, {ProjectStatus: "Active"})

     

    if the above is not clear, please give me a Skype call on giacomo@baizini.com

  • kenny_i Profile Picture
    18 on at

    What components are needed?

    Text input named "TextInputProjectSearch"?

    Gallery vertical? It should have item value "Search([PoaFormProjectAccess], TextInputProjectSearch.Text, ProjectId)"?

     

    Where to insert IconActivate.OnSelect = Patch([dbo.MyProjects], {ProjectId: ThisItem.ProjectId}, {ProjectStatus: "Active"}) ?

  • Verified answer
    Meneghino Profile Picture
    6,949 on at

    @kenny_i wrote:

    What components are needed?

     

    Text input named "TextInputProjectSearch"?

    YES, anywhere in the screen

     

    Gallery vertical?

    YES, blank vertical gallery

     

    It should have item value "Search([PoaFormProjectAccess], TextInputProjectSearch.Text, ProjectId)"?

    NO, it should have Items (with an s) property with value something like:

    Search(Azure table name, TextInputProjectSearch.Text, ProjectId)

    If ProjectId is a text field that contains the project name

     

    Where to insert IconActivate.OnSelect = Patch([dbo.MyProjects], {ProjectId: ThisItem.ProjectId}, {ProjectStatus: "Active"}) ?

    In the template of the gallery

     

    Again, just call as it may be quicker/easier


     

  • kenny_i Profile Picture
    18 on at

     

    Thanks! it works 

    PowerApps Search.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard