cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
franz-at-arbutu
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
Highlighted
Super User
Super User

Re: Getting the first row of a table in Excel dynamically

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
Highlighted
Super User
Super User

Re: Getting the first row of a table in Excel dynamically

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

Re: Getting the first row of a table in Excel dynamically

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
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
Users online (6,604)