cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WebPortal
Post Prodigy
Post Prodigy

Group by array item

This is my array:

 

 

[
  {
    "@odata.etag": "W/\"JzEtVGFzadfdsfyAgQEBAQEBAQEBAQEBAQEBARCc=\"",
    "planId": "johCFoq4sdsdasnEyhOcbgjLkzN5YAFYWU",
 .....
  }
]

 

 

I've managed to get the unique values of the "userId", and got this array:

 

 

[
  "25e6bf64-416e-45c2-8350-9f747027d3c5",
  "9c950320-9981-45a3-b31e-2cd31d69d51a"
]

 

 

I'd like to end with an array that groups per "userid":

 

  • "title"
  • "dueDateTime"

So, per each user, the title of the tasks and due dates.

 

I have no clue how to do this with Power Automate, checking the docs didn't help that much...

25 REPLIES 25
WebPortal
Post Prodigy
Post Prodigy

@Paulie78 

thanks, I'll give it a try.

WebPortal
Post Prodigy
Post Prodigy

@Paulie78 
I renamed the file extension to .json, but Power Automate is telling me it needs a zip extension, so I added the json file to a zip folder but it is returning the error:

 

Something went wrong. Please try again later.

Paulie78
Super User
Super User

WebPortal
Post Prodigy
Post Prodigy

Fantastic, I'll try to understand it and apply to my case.

Thank you so much for you help!

WebPortal
Post Prodigy
Post Prodigy

I think I got it - FINALLY!

Thank you!

Well done! 🙂

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,643)