Hi,
I’m building a flow that should export multiple CSV files from different SharePoint lists. I have a working flow, but for the columns with choice fields, I'm getting all the other details like `"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference", "Id": x, "Value": "zzzz "`. I want to extract only the flat value from there. Normally, it is a single choice field; for a list, there might be one or two choice fields. All the others are text, number, or date.
NOTE: I created a reference list in SP that holds all my lists
my main flow
1. Trigger
2. Get items - connect to the configuration list
3. Apply to each - output of Get items
- Get items 1 - connect dynamically to the current list
- Create CSV table - output of Get items 1; columns: Automatic
- Create file - dynamic link to the path and CSV name; File content: Create CSV table output
e.g. CSV output
selected columns were choice columns
Thanks in advance for your help