You have to restructure your data.
Since the output of a "Create HTML table" is also XML, you can use xpath with it:

Compose
<table>
<thead>
<tr>
<th>Request Created By</th>
<th>Type of Work</th>
<th>Priority</th>
</tr>
</thead>
<tbody>
<tr>
<td>Sudhansu Choudhury</td>
<td>Building Painting</td>
<td>Low</td>
</tr>
</tbody>
</table>
Select
From
range(
0,
length(
xpath(
xml(outputs('Compose')),
'//thead/tr/th'
)
)
)
Map Key
xpath(
xml(outputs('Compose')),
'//thead/tr/th/text()'
)[item()]
Map Value
first(
xpath(
xml(outputs('Compose')),
concat('//tbody/tr/td[', add(1, item()), ']/text()')
)
)
