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 / Parent.Default does no...
Power Apps
Answered

Parent.Default does not work on DropDown

(0) ShareShare
ReportReport
Posted on by 2,157

I am just venturing into the world of SQL instead of SharePoint.  My first issue:

 

1. I have form based on the SQL Table - all good

2. I put a Dropdown in one of the Datacards with a text field.

3. I set its Default to Parent.Default - It does nothing

4. The items property matches the parent.default exactly,  but the dropdown does not change to it. 

 

Is this an SQL thing?

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

    Hi @leyburn19 ,

    Could you please share a screenshot about the issue?

    Could you please show more details about the formula you typed within the Items property of the Dropdown box?

     

    I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:

    1.JPG

     

    Please make sure the Items property of the Dropdown box contains the default value you specified within the Dropdown box. Also please check if you have added the Dropdown box inside the specific data card within the Edit form rather than outside the Data card.

     

    If the issue still exists, please set the Default property of the Dropdown box to following:

    ThisItem.FieldName

    Note: Use ThisItem.FieldName formula to replace the Parent.Default

     

    Also please make sure the Parent.Default formula returns a proper value within your app as below:

    2.JPG

     

    Best regards,

  • leyburn19 Profile Picture
    2,157 on at

    I found the problem.  It was do with the SQL server records having trailing spaces in teh data.  When I used TRIM() it all worked fine. 

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @leyburn19 ,

    Have you solved your problem?

     

    Yeah, you are correct. Currently, within PowrApps, you could use Trim() function to remove the extra spaces within a Text string value.

     

    If you have solved your problem, or the solution I provided above could help in your scenario, please go ahead to click "Accept as Solution" to identify this thread has been solved.

     

    Best regards,

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard