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 / Transpose JSON Data or...
Power Automate
Unanswered

Transpose JSON Data or Transpose Create HTML result

(0) ShareShare
ReportReport
Posted on by 103

Hello,

 

I struggle to get a transposed "Create HTML table".

Transpose means something like rotate: Coloums of should be rows and rows shoud be coloumns. 

 

(Excel Example to show transpose: https://support.office.com/en-us/article/transpose-rotate-data-from-rows-to-columns-or-vice-versa-3419f2e3-beab-4318-aae5-d0f862209744 )

 

I know there is also a CSS/Stylesolution to transpose a HTML table itself, but it is only a bad workarround which is only working for really simple and small cells. In my case the CSS/Style solution solution do not work.

 

I needed a full day to even parse a dynamic JSON, solution with credits linked here: https://powerusers.microsoft.com/t5/Building-Flows/Parse-dynamic-JSON-for-every-array-element-and-every-key-value/td-p/385080/

 

But I still struggle to build the transposed Data. It's not as easy as it sounds. Because data structure are different. Also JSON array of elements can miss a property in some array-elements, which other array elemenst have (if the property value is null/empty). I run into a big bunch of problems.

 

Perhaps I am searching in a wrong direction and someone knows a much better way.

I can think of three solutions:

1. Transpose the JSON Data, before hand them over to official "Create HTML Table" Connector. (Would be best idea, but I do not get managed to transpose JSON in flow)

 

2. Transpose the result of "Create HTML Table" Connector. (Would be also a good idea, but I do not get managed to transpose the

HTML Table in flow)

 

3. Parse the JSON by self and create a own  "Create transposed HTML Table"-Connector as Flow per HTTP-Trigger. I tried, as you see in the other thread, even the parsing of the dynamic JSON was hard.

 

Someone knows of a easier idea?

 

Thanks a lot and best regards

 

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @teqs ï¼Œ

     

    I‘m afraid that there is no any way could transpose the result of "Create HTML Table" Connector in microsoft flow currently and there is no any easy way to achieve your requirement. I suggest that you could take a try with your third solutions.

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • teqs Profile Picture
    103 on at

    If someone comes across this, here is a official idea about that feature:

    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/A-possibility-to-transpose-rotate-quot-create-HTML-table-quot/idi-p/238152

     

    I tried much workarounds, but having something which worked good for any table, was not possible. I hope to see such a valuable feature.

     

     

     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard