web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get File, Create CSV E...
Power Automate
Unanswered

Get File, Create CSV Export

(0) ShareShare
ReportReport
Posted on by 10

Hello Power Automate Community! 

I hope I have a simple problem that folks can help me with. I have a flow that runs without errors. I am taking an export of a SharePoint list and creating a nightly CSV for different uses. The issue I am having is the data I export has so many extra fields (i.e. "@OData.et" and similar fields) that are not in the SharePoint list I'm exporting. Also, the data that get returned has an odata string attached to it: i.e. {"@odata.type":"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference","Id":1676,"Value":).

Any help on this matter would be greatly appreciated. The list I'm exporting has many fields and it would not make sense to use the manual function to isolate the fields I want, but even so I have tried the manual function and isolated 2 or 3 fields, but I have the same problem with the odata string. Thanks in advance for any insight on this issue.

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @nu2pwrautomate 

    Create a view that contains only the column that you want.  Then, select that view in the Get items action under Limit Columns by view in advanced properties.

  • nu2pwrautomate Profile Picture
    10 on at

    Scott, thank you so much for your feedback. That does not solve my issue as I am already using a view. after you suggestion, I created a new view to try again but still the output file is not easily consumable. 

  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    Use a select action to create an array of objects with only the required columns.

  • nu2pwrautomate Profile Picture
    10 on at

    are you referring to the attached image? selecting the fields in the csv step?

  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    No, it's about inserting a new action (a Select action) that takes an array (the list items) and converts it to an array of objects with only the column you want:

    E.g.

    Chriddle_0-1681836082011.png

    If you use the Select's output as Input of the Create CSV action, you will only get the columns "Title" and "Severity" there.

  • nu2pwrautomate Profile Picture
    10 on at

    Chriddle, thank you for the advice, but unfortunately that still spits out an undesirable value. Please see attached sample xls.

  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    Instead of e.g. "Name" use "Name value" from the dynamic content.

  • nu2pwrautomate Profile Picture
    10 on at

    Chriddle, thank you for you continued added value! this definitely worked, but would you have an idea as to why the "Name value" doesn't exist for all the fields in the list?

  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    Your field returned this object because it's a lookup field.

  • nu2pwrautomate Profile Picture
    10 on at

    okay, so I guess there's no way around that. but since that is the, what's the best way to import a file, or read the data with that kind of odata string? can power automate read that file and import into a new SharePoint list? because if that's the case then I can work with that.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard