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 / 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard