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 / Populating default val...
Power Apps
Answered

Populating default value from data source in Dropdown

(0) ShareShare
ReportReport
Posted on by

I have a form that has one datacard with two different inputs. The user can toggle between a dropdown and textinput suing a context variable. The dropdown default is Parent.Default and the Items property is set to Distinct(SQLSource). My problem is when the user uses the textinput to edit, he submits the form, the datasource is updated, but the dropdown does not refresh to the new value for the selected record. It still show the first distinct record from the items list. 

 

The overall goal is to allow the user to choose an existing value or manually add a new value and save it.

MrDeeCiii_0-1717077695393.png

MrDeeCiii_1-1717077716110.png

 

 

Categories:
I have the same question (0)
  • TL-19061420-0 Profile Picture
    on at

    For additional info, you can see in the screenshot that the dropdown is set to Parent.Default. However, the value in the Dropdown is "111111" whereas on the right, you can see the default value is in fact "63333333".

     

    MrDeeCiii_0-1717098008723.png

     

  • Verified answer
    Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @MrDeeCiii - How large is your data source? I suspect the issue is related to the Distinct function not being delegable.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard