Reputation: 29
I'm sending three variables into my power automate flow, all arrays. I'm individually putting each one into its own Create CSV table component and their output is similar to this format:
[ { "AMDTitle": "AMDrive", "MiddayTitle": "Midday", "EveningTitle": "Evenings" } ]
Then I add all three Create CSV table outputs to a Sharepoint Create file component to make a csv file. The flow overall is doing what I want but it's putting even the keys into a row in the file like this:
row 1: AMDTitle MiddayTitle EveningTitle row 2: AMDrive Midday Evenings
How can I get the array values only (row 2) and not both the key and values in the file?
Upvotes: 0
Views: 1812
Reputation: 1126
You need to do the following changes to your Create CSV Table:
Automatic
to Custom
item()['Title 2']
This will generate your desired output, i.e. without header, only values:
Upvotes: 0
Reputation: 196
can you double check it, please? I recreated your flow (if I got it not wrong), but the outcome is working as expected.
update: "Create CSV table action" with custom headers:
Upvotes: 0