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 / Search and retrieve th...
Power Apps
Unanswered

Search and retrieve the data

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, 

I used Mobile App connect data SQL Server. I have 2 forms one that inter the customers information, the 2nd I want customer search for his\her Auto ID and find the information that already inter in 1st forms. So any help what can I do to retrieve the data ? and where to do in SQL Server or PowerApps ?

 

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @WiAmb 

     

    This can be done on PowerApps forms itself using some logical expression. Can you share more details about the schema and the scenario you are trying to build here? This way we can help you build the expression that you need.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • WiAmb Profile Picture
    Microsoft Employee on at
    Thank You @yashag2255 for your response.

    I want to do a shipment application , where the employee enters the shipment information then gets Track ID back and gives it to the customer (I have finished implementing this part) the second part is where the customer can search their shipment by entering the track ID to retrieve the information of the shipment that was already entered by employee; I am facing an issue in implementing this
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @WiAmb ,

    Do you want to filter items based on entering track ID?

    Could you describe more clearly what problem do you have when filtering data?

    Could you tell me data type of the track ID field?

    Do you use textinput to enter  track ID?

    I assume that it is number field and you use textinput to search.

    If so, please try to set gallery's Items:

    Filter(table, Value(textinput.Text) in track ID)

     

     

     

    Best regards, 

  • WiAmb Profile Picture
    Microsoft Employee on at

    Thank you @v-yutliu-msft

    Do you want to filter items based on entering track ID? No, not filtering items. Retrieve information from database. 

    Could you describe more clearly what problem do you have when filtering data? the second part or form is where the customer can search their shipment by entering the track ID to retrieve the information of the shipment that was already entered by employee; I am facing an issue in implementing this that I don't know where to do in SQL Server or in PowerApps and what to do?

     

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @WiAmb 

     

    The retrieval can be done directly in the powerapps. For this, you need to connect the SQL table as a valid datasource and then you can use Filter() query to get the required records.

    Expression that can be used:

    If TrackId is string:
    Filter(TableName, TrackID = TextInput1.Text)

    If TrackId is integer:
    Filter(TableName, TrackID = Value(TextInput1.Text))

    Here, the TrackID is the column name in the SQL Table and TextInput1 is the name of control to get the userinput for tracking id.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard