cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mterry
Helper I
Helper I

Trouble creating csv file from SharePoint list

I'm having issues creating a csv table from a SharePoint list  - everything works fine except the data that comes from a drop-down list. For those fields I get the below where the final part of the string is the real data I want - 2017 in my example. 

 

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

 

I tried to solution in the post below and it didn't work, wondering what my options are?

https://powerusers.microsoft.com/t5/Building-Flows/Exporting-SharePoint-List-as-CSV-template/m-p/137...

 

Here's my flow for reference:flow.png

1 ACCEPTED SOLUTION

Accepted Solutions
RookieI
Resolver I
Resolver I

If the field type is Choice, Dynamic content you need to use is the value.

 

For example, if the field name is drop-down, then you need to select drop-down Value.

22.PNG

View solution in original post

4 REPLIES 4
RookieI
Resolver I
Resolver I

If the field type is Choice, Dynamic content you need to use is the value.

 

For example, if the field name is drop-down, then you need to select drop-down Value.

22.PNG

View solution in original post

I don't have the option for 'drop-down Value' in the dynamic content, not sure why. However, I did find a 'Benefits_Year Value' option, which appears to have worked. Any idea why I don't have the drop down option but do have the value option?

The post above was using Drop Down Value as an example, since they don’t have a replica of your SharePoint list.

Obviously your list has a column called Benefits_Year (that will be the internal name) so ‘Benefits_Year Value’ works for you.

I've now noticed that the csv file that gets exported is omitting certain items from the SharePoint list. I'm looking through to see what the omissions have in common, right now all I can tell is that for some of the items in the list there aren't always values for all of the columns I've chosen to have exported - would that cause the export job to leave those rows out entirely?

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (3,026)