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 / Allowed Values drop do...
Power Apps
Unanswered

Allowed Values drop down defults to the first item

(0) ShareShare
ReportReport
Posted on by

Hi,

 

Im new to PowerApps. Here is my issue:

 

I have a Number field (Confidence Factor) in a SPList connected to an Allowed Value data card in PowerApps.

 

Fonzcorp_0-1605285094377.png

 

This data card was switched to custom because I wanted the user to be able to input 3 Percentiles only. So i edited the "Items" field for it like so.

Fonzcorp_1-1605285224083.png

 

It works fine and when the user submits a change it changes in the SPList. The problem is that when they go back to edit the card by default it diplays the first Item (100%) rather than what was saved in the SPList.

 

Fonzcorp_2-1605285547008.png

EX: After changing it to 30% and saving it, on reloading and returning to the screen, the card will show 100% instead of 30%. Not sure what im missing here. Any help is apprceciated. Thanks.


Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    First, as you are learning PowerApps, you actually do not need to do this type of thing.  When you have an EditForm, you can click on the Edit fields in the properties of the EditForm and for the field (confidence factor in this case) choose the "..." menu and change the control type to "Allowed Values".  This will automatically put in a dropdown for you and wire all the logic to put the data in and out as needed.  Once you have done that, you can then unlock the data card and change the AllowedValues property to : ["100%", "70%", "30%"] and again, everything will be done.

     

    Now, if you stay with trying to do this on your own, then you need to look at the Default property of your Dropdown.  It should be set to Parent.Default  and your Default property of the DataCard that the control is in needs to still be ThisItem.ConfidenceFactor (assuming that is the field name...adjust as needed).

     

    I hope this is helpful for you.

  • WenYing94 Profile Picture
    13 on at

    Hi, 

    If you created a custom drop down with the 3 values and then you clicked on a save button, you could try the following things to see if this works for you. 

    Solution 1. Select the drop down and go to tab "advanced" > section "data" > Set "false" in the property "Reset" and try one more time. 
    Solution 2. In case you are working with gallery control, please make sure you're doing the patch correctly with the unique identifier for that record. 

     

    Hope this helps.

    Regards, 
    Wen Ying Peng. 

    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • ianbaxter Profile Picture
    2 on at

    I have created a canvas app for use at work that links to a SharePoint list which has columns set as text and uses drops downs in the app to input data.  I have checked the default card and dropdowns as per your post however when users are accessing the app values within the drop downs are changing automatically without input from the user.

    Any help would be appreciated.  Many 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard