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 / Using collection data ...
Power Apps
Unanswered

Using collection data in another collection for csv flow

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

 

first the general situation - I've got several choice fields in a sharepoint list consisting of dozens of columns with data.

 

The App is quite similar to a ticket system - I am exporting the data of the ticket you're in via button (and flow) to .csv - everything works fine except the data for those choice values.

I suppose this is due to the choice being saved as a table - additionally I do pull the choice Values into a collection to use further (with concat() as a text string) in the app - this works fine. What I tried below:

 

 

colChoices1 - Collection having stored all values from Choices1 for this exact entry, 1 value column
colChoices2 - Collection having stored all values from Choices2 for this exact entry, 1 value column

Button OnSelect code:

Collect(colDataExported;
 { 
 ID: galExample.Selected.ID;
 Title: galExample.Selected.Title;
 Choices1: galExample.Selected.Choices1; // will give you []
	 Choices2: Concat(colChoices2; Value;";") // results in an incompatible type error
 ... 
 });;

Set(varFileLink;ExporttoExcel.Run(JSON(colDataExported;JSONFormat.IncludeBinaryData & JSONFormat.IgnoreUnsupportedTypes)).filelink);;Launch(varFileLink);;Clear(colDataExported)

 


Is there anything I can do to make this work? Thank you in advance for all ideas or help you can provide.

 

PS: my first post here, so please be gentle with me 😛

Categories:

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard