add repeat item labels in a PivotTable office script

Oisín Liston 30 Reputation points
2023-06-15T21:04:16.23+00:00

Can office scripts support adding repeating item labels in a PivotTable? When I try to record this action within Excel online it gives a error - activity cannot be recorded.

Are there plans to update office scripts to support this action?

I'm using office scripts with a pivot table to transpose and summarise data within a tab on an excel online file before converting the data to a table for input into a Power Automate flow.

As such I need all item labels to repeat for the table to populate correctly.

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | Excel | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Oisín Liston 30 Reputation points
    2023-10-18T12:20:44.61+00:00

    Yes you can do it manually via the settings but need to be able to do it via office script.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.