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.
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?
Solved! Go to Solution.
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!
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!
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,
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
86 | |
60 | |
51 | |
44 | |
40 |
User | Count |
---|---|
87 | |
81 | |
76 | |
62 | |
44 |