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

Getting the first row of a table in Excel dynamically

Is it possible to get the table headers or the first row of Excel dynamically using the Excel Connector? 

 

My scenario is that I need put all value in Excel table header or the first row cell into a Variable Array but I notice that I was not able to get that because the first set of row listed in "List rows present in a table" would be the 2nd row already. In my current requirement, the headers are dynamic so the columns would need to adjust and was hoping to used an array to do that. 

 

 

Capture.PNG

Here in my screenshot, I was able to get the value of the row but when I try doing:

body('List_rows_present_in_a_table')?['value']?[0]?[3]

To hopefully get the "Project Name":"Test Project - 1", it gave me an error that the expected key is a string which I'm guessing is "Project Name". 


That being said, if I where to put the headers in an array and dynamically call the collection for example:

body('List_rows_present_in_a_table')?['value']?variables('NameArray')?[0]

 

Where: variables('NameArray')?[0]?['0'] = "Project Name" 


Would that be possible?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

No, the Excel connector does not allow for the manipulation of the column headers. If this is functionality you would like to see added to Flow, please consider submitting it to the Flow Ideas page, where it can be voted on by other users, and tracked and commented on by the Flow team.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Super User II
Super User II

No, the Excel connector does not allow for the manipulation of the column headers. If this is functionality you would like to see added to Flow, please consider submitting it to the Flow Ideas page, where it can be voted on by other users, and tracked and commented on by the Flow team.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Community Support
Community Support

Hi @franz-at-arbutu ,

 

As Brad described, currently Flow does not support getting the column name.

I am afraid there is currently no suitable way to achieve your needs.

If you want such a feature to be supported by MS Flow, please consider submitting your suggestion on the Ideas forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (46,128)