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 / AllowedValues property...
Power Apps
Unanswered

AllowedValues property on DataCard gives different result when used in dropdown on same DataCard

(0) ShareShare
ReportReport
Posted on by 19

Context

In my Canvas App I have a Form on which I'm trying to create a cascading dropdown. In other words, I change my list of Items on a dropdown based on the value of my previous dropdown.

 

Method

As I'm working with a Form, I set the AllowedValues on my DataCard using a filter. This works, as long as I don't submit the form.

 

Unexpected result

When I run the SubmitForm() function, the AllowedValues property of my DataCard changes. When I look at it from the DataCard itself, it still shows the correct values:

AllowedValues as seen from DataCardAllowedValues as seen from DataCard

 

However, when I look at it from my dropdown the list is different and a column has been added. Because of this, the value of my dropdown has also changed to a value that shouldn't be possible in combination with the previous dropdown's value.

AllowedValues as seen from dropdownAllowedValues as seen from dropdown

 

The item of the form is a collection, the data source of both the form and the AllowedValues formula is Dataverse.

 

I strongly suspect this is a bug. And that it has something to do with the order in which background functions are run. If anyone has a workaround or agrees that it is a bug and knows how to communicate this to Microsoft, please let me know.

Categories:
I have the same question (0)

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

#2
Kalathiya Profile Picture

Kalathiya 340

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard