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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard