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?