cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
franz-at-arbutu
Level: Powered On

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
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
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 Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 131 members 5,065 guests
Please welcome our newest community members: