web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / JSON storing headers a...
Power Automate
Answered

JSON storing headers and data in separate lists, how to write them to Excel table?

(1) ShareShare
ReportReport
Posted on by 22
Hi,
 
I am trying to write JSON output to an Excel table. However, instead of key-value pair, the JSON has headers and data in separate lists ("fields" has header and it's properties, and "data" is just data), as showing below. Do you know a way to combine the "fields" (more specific, "label" from "fields") and "data" to a dictionary? Or how to pass un-named data to table using "Add a row into a table" action?
 
Thank you!
 
"fields": [
            {
                "name": "postedDatetime",
                "label": "Posted",
                "cardinality": 1,
                "dataType": "DATETIME",
                "searchable": true,
                "sortable": true,
                "hasRange": true
            },
            {
                "name": "deliveryDate",
                "label": "Delivery Date",
                "cardinality": 2,
                "dataType": "DATE",
                "searchable": true,
                "sortable": true,
                "hasRange": true
            },...]
 
 
"data": [
            [
                "2024-08-06T12:30:00",
                "2024-08-13",
                "1:00",
                15393,
                2034.09,
                7067.4302,
                1869.28,
                18442.6992,
                10719.9004,
                4612.2002,
                1610.14,
                61748.74,
                "E",
                true,
                false
            ],
            [
                "2024-08-06T12:30:00",
                "2024-08-13",
                "10:00",
                16217.7002,
                2178.3999,
                7131.7998,
                1912.8199,
                18689.0996,
                10377.9004,
                4660.4199,
                1626.77,
                62794.9097,
                "E",
                true,
                false
            ],...]
Categories:
I have the same question (0)
  • Verified answer
    WZ-06081909-0 Profile Picture
    22 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard