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 / Transform Object into ...
Power Automate
Answered

Transform Object into Array

(0) ShareShare
ReportReport
Posted on by 45

Hello I am currently trying to update a powerbi dashboard with an excel sheet of data. What I am doing is taking the last row that was added to the xcel sheet and applying it to the powerbi API dataset. However, it wont work since the "Compose" action is an object and not an array. 

Theandster33_2-1708110953140.png

 

I tried using the "split" command to split the object into an array but it only works for strings.

Theandster33_1-1708110938185.png

The big question, how do I turn an object into an array? I do not use powerbi desktop app btw, this is all in power automate and the powerbi.coms doing.

 

Thanks,

 

I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Theandster33 

     

    First of all, this section is for asking questions over Power Automate Desktop flows. Make sure to post questions in correct section when posting your questions in future 🙂

     

    Coming to your question- to convert a object to array you can use array() function over compose action in apply to each so that it can act as one element loop. To get better clarity- see below flow design:-

    Nived_Nambiar_0-1708189109772.png

     

    Expression used there :  createArray(outputs('Compose_get_last_row'))

     

    This will create an array with the object as last row of table.

     

    Hope it helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Theandster33 Profile Picture
    45 on at

    Thanks you so much, that worked! Was not sure where to put this question as im pretty new to all of this. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 298 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 159 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 150 Super User 2026 Season 2

Last 30 days Overall leaderboard