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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to Autofill a tabl...
Power Apps
Answered

How to Autofill a table based on a Text Input that triggers a SQL Query

(0) ShareShare
ReportReport
Posted on by 76

I have form that needs to take a value via Text Input (autocomplete if possible), and auto fills other fields in the form based on a SQL query. The query joins several tables to get the data. Is that possible, and if not how should I go about collecting that data to use?

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    on at

    Hi @SharePointAU,

     

    If the SQL Query here means the View, then currently this is not available.

    There is an idea submitted on this already:

    PowerApps must also see SQL Azure Queries, not only Tables

     

    PowerApps by now could only work with the actual data table,  if you would like to use the data from Multiple tables, then you need to add all the related tables as data source in PowerApps.

    After that, take use of the filter or Lookup function to find the proper data.

    Filter, Search, and LookUp function in PowerApps

     

    Regards,

    Michael

  • Verified answer
    SharePointAU Profile Picture
    76 on at

    Thank you for your response. I am not asking how to see the View. I literally meant to use a SQL Query. 

    However, I have since figured this out that where I have trouble "joining" tables, i can simply lookup the keys and hide them on the page to use in Lookups for the remaining data. 

     

    I now have a solution that allows me to enter a number in a text field, and auto populate other fields in my form based on SQL Data from several tables.

  • ShockWave Profile Picture
    10 on at

    @SharePointAU can you share your solution?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard