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 Apps / Problem with a table i...
Power Apps
Answered

Problem with a table in a collection

(0) ShareShare
ReportReport
Posted on by 4

Hi, 

I need some help with my PowerApp. I try to make an app, with an Gantt-Chart from Planner Tasks and I need to filter the assignet users for each task. 

A1uca2d_0-1682584685050.png

the imported collection hat es table included where the userId is saved. To use the data in a filter i need it in an "normal" collection. 

I have tryed to manage that with the following code:

A1uca2d_1-1682584789092.png

But I get a new collection with table. 

A1uca2d_2-1682584838036.png

 

can some one help me with the code to get a collection where the includet table is shown as 1 to X rows in a collection?

Categories:
  • victorcp Profile Picture
    2,350 Moderator on at

    Hi,

    could you share how you created the planTasks collection?

  • Verified answer
    WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    Hi @A1uca2d ,

    You may need another Ungroup in there, but try this

    ClearCollect(
     taskVerantwortliche;
     Ungroup(
     ForAll(
     planTasks;
     ForAll(
     _assignments;
     {
     userName: Office365Users.UserProfileV2(userid).displayName;
     userPhoto: Office365Users.UserPhoto(userld); 
     userCode: userid; 
     taskld: id
     }
     )
     ),
     "Value"
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • A1uca2d Profile Picture
    4 on at

    Thank you for your help. 

     

    That works well.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard