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 / Export dropdown value ...
Power Apps
Unanswered

Export dropdown value to excel

(0) ShareShare
ReportReport
Posted on by 15

I want to export my data from a dropdown to Excel.

 

This is a snippet of my export to Excel formula: 

 

 

 

Clear(CollectionCSV);

ForAll(
 Gallery1.AllItems As colCSV,
 Collect(
 CollectionCSV,
 {
 Dropdown: colCSV.Dropdown,
 }
 )
);

Set(varFileLink, ExporttoExcel.Run(JSON(CollectionCSV)).filelink);
Launch(varFileLink);

 

 

 

 This exports successfully, but the value in the spreadsheet is the ID of the dropdown value I think, not the dropdown value itself. 

 

 

 

Dropdown: colCSV.Dropdown.Selected.Value

 

 

 

shows the error

 

 

 

Name isn't valid. The identifier isn't recognized.

 

 

 

 so I'm stuck on how to fix this. Is there any way to fix this?

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,458 Most Valuable Professional on at

    @raindance ,

    What are the Items of the dropdown?

  • raindance Profile Picture
    15 on at

    @WarrenBelz 

    The Items are values from a Dataverse Table column.

  • WarrenBelz Profile Picture
    156,458 Most Valuable Professional on at

    @raindance ,

    I need the actual Items code.

  • raindance Profile Picture
    15 on at

    Do you mean the ComboBox's Items value? Its just the name of my Table.

  • WarrenBelz Profile Picture
    156,458 Most Valuable Professional on at

    @raindance 

    What is the name of the field it is displaying - you need

    colCSV.FieldName

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • raindance Profile Picture
    15 on at

    I'm still not sure what you mean, so I'll just show screenshots of what I have:

     

    1.png2.png3.png

     

    So I'm trying to export one of the values in the third screenshot. I'm unsure what you mean by the name of the field it is displaying, but I think you mean the Coating column. I tried 

    colCSV.Coating.Selected.Coating

    but that didn't work. 

  • WarrenBelz Profile Picture
    156,458 Most Valuable Professional on at

    @raindance ,

    Amended in my earlier post. Collections simply have fields - a drop-down is the control that sets it.

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

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard