Mutlichoice field in Sharepoint List Not able to export

Aishwarya Apte 5 Reputation points
2023-11-03T19:13:23.3566667+00:00

I have a List that I created .. With Column Names ID, Name and Associated Department

The Associated Department Department Column was originally named "TaskAssociationtoDepartment"

This is a multichoce Column, creating in Power Automate flow and I have a Get Item --> Select -->

in select i have Map in map I have this in expression

join(xpath(xml(json(concat('{"body":{"value":', item()?['TaskAssociationtoDepartment'] , '}}'))), '/body/value/text()'), '; ')

in json I see

 "TaskAssociationtoDepartment": [
      {
        "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
        "Id": 17,
        "Value": "Information Technology"
      }
    ]
Where is my formula incorrect. Rest of the columns work just fine..
Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft 365 and Office SharePoint For business Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2023-11-06T02:39:58.1466667+00:00

    Hi @Aishwarya Apte ,

    According to your description, your problem is related to Power Automate.

    Since Power Automate is currently not supported in the Q&A forum. Please start a new discussion via the Power Automate Community so that you can get dedicated support on this issue.

    Hope this can help you.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Rudresha S 0 Reputation points
    2023-11-04T01:46:32.9533333+00:00

    "TaskAssociationtoDepartment": [

      {
    
        "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    
        "Id": 17,
    
        "Value": "Information Technology"
    
      }
    
    ]
    

    Where is my formula incorrect. Rest of the columns work just fine..

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.