Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Sharepoint Get Items Choice field

Posted on by

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'

  • 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

  • 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

  • v-bacao-msft Profile Picture
    v-bacao-msft on at
    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

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard