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 / Dropdown value issue i...
Power Apps
Answered

Dropdown value issue in collection

(0) ShareShare
ReportReport
Posted on by 6

So I have a button that I use to generate records in a collection called "Tranzactii". However, I have issues with the drop down, called "DropDown1" as it appears as a table inside my collection.

2.PNG

This is because PowerApps sees DropDown1.SelectedText as a Record data type, and I need Text data type in order to get the correct value inside my collection, instead of the table.

1.PNG

I am mentioning that I used Dropdown1.Selected.Value, Dropdown1.SelectedText.Value, as well as Dropdown1.Selected.Record, but this happens:

3.PNG

I should also add that my dropdowns use ["", "option1", "option2"] kind of formula and they are no linked to any database.

 

Thanks in advance!

Categories:
I have the same question (0)
  • Rahber Profile Picture
    1,935 on at

    Could be a redundant shot but have you tried Text(Dropdown1.SelectedText.Value) ?

  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Shifty011 :

    I think it may be that the data type of Sursa in the new collect code conflicts with the data type of the corresponding field in the existing collection.

    I suggest that you first delete all the code that defines Tranzactii, and then check whether Tranzactii is gone in the file-collections. Finally,Rewrite the code after making sure that Tranzactii has disappeared.

    I suggest you take the following measures:

    1\Make sure there is no other Collect/ClearCollection function in the app that operates on the collection "Tranzactii"(If a collection is defined by multiple collect functions, and the data type of one of the fields is different, an error will be reported)

    2\Delete this button and add it again.

    3\Check if the problem has been solved

    Best Regards,

    Bof

  • Shifty011 Profile Picture
    6 on at

    You're a god amongst men

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 765 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 272

Last 30 days Overall leaderboard