cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
robinisathakur
Level: Power Up

Sharepoint Get Items Choice field

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'

3 REPLIES 3
Community Support Team
Community Support Team

Re: Sharepoint Get Items Choice field

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:

 

18.PNG

 

I have made a test on my side and the flow works well.

 

19.PNG

 

20.PNG

 

Please take a try and let me know if the issue still exists.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Administrator
Administrator

Re: Sharepoint Get Items Choice field

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

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Anonymous
Not applicable

Re: Sharepoint Get Items Choice field

hi @v-bacao-msft,

 

I applied your solution but it still the same problem , do you have any solution for that ?

Thanks

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,913)