WHen I create a flow to getitems based on an odata query and export the last three months to a CSV it all nearly works, except for the choice field shows the following array instead of just the value in the CSV file:
"{""@odata.type"":""#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"",""Id"":0,""Value"":""Business Debit""}"
Is there any way to just get the last value i.e. what value the choice column is set to, 'Business Debit'
hi @v-bacao-msft,
I applied your solution but it still the same problem , do you have any solution for that ?
Thanks
Hello, @robinisathakur!
Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-bacao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!
Thank you for being an active member of the Flow Community!
-Gabriel
Flow Community Manager
Hi @robinisathakur,
You could try to customize which columns need to be created when configuring the Create CSV table action. In the column whose type is choice, select Dynamic content that contains value, as below:
I have made a test on my side and the flow works well.
Please take a try and let me know if the issue still exists.
Best Regards,
Barry
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.