Hi everyone,
Hope to found you well.
Assume your Excel row is stored in a variable or part of a previous step (like Get a row, List rows present in a table, etc.).
Add a "Compose" action:
Use this expression to extract the keys (column names) and remove unwanted ones.
Expression:
join(
filter(
keys(body('YourExcelStep')),
item() != '@odata.etag' and item() != 'ItemInternalId'
),
','
)
- Replace 'YourExcelStep' with the name of the step that returns the row object (you can use Dynamic Content to select the output).
- The join(...) will return a single comma-separated string like:
Name,Surname,Birth Date,City
If you prefer it as an array, remove join(...) and just use:
filter(
keys(body('YourExcelStep')),
item() != '@odata.etag' and item() != 'ItemInternalId'
)
Best Regards,
Hugo Jesus