Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Remove odata and other text from export to CSV

(0) ShareShare
ReportReport
Posted on by

I want to export a sharepoint list to a CSV file but it is exporting more than just the value.  There are tons of odata.type stuff that I see.  The only  data I want to see in the IT Ticket type column is  the actual value  which in this case is "issue"

 

ITTicketType

{"@odata.type":"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference","Id":1,"Value":"Issue"}

 

What I want to see is

ITTicketType
Issue


Below is the create CSV portion of my flow.

JeffC_0-1650760901010.png

How do I get rid of all this other information?

 

I would greatly appreciate some direction.

 

Thanks,

 

Jeff

  • RedcapVS Profile Picture
    58 on at
    Re: Remove odata and other text from export to CSV

    Been searching all this for months for a solution and there you are. Thanks

  • rwittels Profile Picture
    510 on at
    Re: Remove odata and other text from export to CSV

    Hi. I know this is old but hopefully it helps other people.
    If your list has choice columns, those columns will return all the odata text.
    The way to fix this is instead of selecting the column name as the Value which will essentially create an expression like this:

     

    item()?['YourColumnName']

     

    rather add a custom expression and type this:

     

    item()?['YourColumnName']?['Value']

     

    and this will only return the values from the column.

  • bslusarz Profile Picture
    8 on at
    Re: Remove odata and other text from export to CSV

    Jeff, I'm having this same issue.  Are you able to clarify what you mean by using the Value field?  Did you change anything in your SharePoint list, or was it in the Flow?  Are you able to screenshot what you did to resolve this?

  • Verified answer
    JeffC Profile Picture
    on at
    Re: Remove odata and other text from export to CSV

    I realized I was not using the value field which is the reason all the odata is showing up.  However, it is strange that I can't use the item type as the header.  If I use the item type as the header it doesn't show up but if I manually type something in the header it works.

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >