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 Apps
Answered

Auto populate

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

Hope all is well. I have an issue. However you see, there are 2 boxes that I want to auto populate them in other pages. There is location and report date which I want them to be automatically populated to other pages such as operations and transportation. I want to make the app easier to use for customers and when they pick the date and location on home page, become automatically populated to other pages. I tried tons of formulas but none of them work. Can you please help me with?

I will really appreciate you guys.

2F7CF1F0-902F-476B-BC2A-C8D0862381F8.png

Categories:
I have the same question (0)
  • EddieE Profile Picture
    4,641 Moderator on at

    @Anonymous 

    Use variables, ie

    // for Location
    Set( vLoc, Dropdown1.Selected.Location) // change this to the name of your dropdown and field name

     

    ... and

    // for Report Date
    Set( vReportDate, DatePicker1.SelectedDate) // change to your DatePicker name)

     

    Put the above formulas on the OnChange properties of your DropDown and DatePicker. You can then use these variables anywhere throughout your app, eg filtering a gallery on another screen, setting a Label Text, etc

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Have you solved your problem?

    Do you want to click the Operation button to navigate to the Operation related page and populate the selected date into a Label or some other control?

    Could you please share a bit more about your scenario?

     

    I think you should set the Operation Button OnSelect property as below:

    Set(ReportDate,DatePicker1.SelectedDate);Navigate(OperationPageScreen)

    set the Transportation Button OnSelect property as below:

    Set(Transportation,Dropdown.Selected.Value);//Here depends on how you set the Items of the Dropdown
    Navigate(TransportationPageScreen)​

     

    Then on the Operation screen and Transportation screen, populate a Label or a TextInput Default property with the two variables represently.

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

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard