cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

MS Graph data convert to SharePoint list

Hi All,

 

I take a long time to search for the relevant writing to my flow stuck if you have any solution will appreciate for your help!

My flow scheme share as a link:

 

Invoke the data form HTTP.JPG

 

The scheme explains:

Send an HTTP request to take the excel file form SharePoint and invoke the excel's data from HTTP, finally retrieve the original data form "Value", this way is good for avoiding the SharePoint's versioning setting of "Require to Check out" and don't need to format the excel file to be the table type, also quick and efficiently, but I stuck with the data after invoking from HTTP, please see below link for the data get from "Value" and names it rows: 

Invoke data detail.JPG

[

[

"No",

"CD",

"CAT",

"Sub CAT",

]

[

2,

"Add1",

"Test1",

"format3",

]

[

3,

"Add2",

"Test2",

"format4",

]

]

The data has no title, I would like to make the rows has a title, just like below content, because I need the title for each of the rows to define each row to apply to the SharePoint list:

 

[

[

"No": "2",

"CD": "Add1",

"CAT": "Test1",

"Sub CAT": "format3",

]

[

"No": "3",

"CD": "Add2",

"CAT": "Test3",

"Sub CAT": "format4",

]

]

 

I try to use the Select to convert it, but no idea how to get it, cause the "Value" content no title for the formula to quote.

Refer to some article(below link) but their issue has a title and no need to overcome this situation, if you have some idea, please advice, thank you.

https://powerusers.microsoft.com/t5/Building-Flows/How-to-retreive-or-calculate-minimum-and-maximum-...

 

leonwan99

1 REPLY 1
Highlighted
Super User II
Super User II

Re: MS Graph data convert to SharePoint list

HI @Leonwan99 

 

The issue here is that you're getting the array of values and not the array of objects (key, value). 

 

I think there's a more natural way to do this. If you want to fetch Excel files and want to do it dynamically, check the template I've built.

https://manueltgomes.com/microsoft/flow/template-archive/

 

Under Actions > Excel > Access Excel Using a Custom Path

 

With this, you can fetch the Excel information and parse it as you would like.

 

Give it a try and let me know.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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!

Top Solution Authors
Top Kudoed Authors
Users online (5,362)