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

Re: Trouble creating csv file from SharePoint list

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

Re: Trouble creating csv file from SharePoint list

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

mterry Helper I
Helper I

Re: Trouble creating csv file from SharePoint list

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?

Super User
Super User

Re: Trouble creating csv file from SharePoint list

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.
mterry Helper I
Helper I

Re: Trouble creating csv file from SharePoint list

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
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (6,309)