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 Apps
Answered

Transpose

(0) ShareShare
ReportReport
Posted on by 285

Hello, 

 

Below is a collection. 

 

Sam70_0-1687110859976.png 

using the above, need to generate output like below

Sam70_1-1687110983836.png

Need solution to the problem.

 

Regards

 

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

    Hi,

    Have you tried using GroupBy? it may resolve your problem, if you need further assistance, please let me know

  • developerAJ Profile Picture
    4,763 on at

    Paramter column values are dynamic or limited set of values

  • Sam70 Profile Picture
    285 on at

    Hi @developerAJ ,

     

    Parameter column values are dynamic.

    Regards

  • Sam70 Profile Picture
    285 on at

    Hi @victorcp ,

     

    I tried GroupBy, but not sure where is the issue. Parameter column values are dynamic.

     

    Regards

  • victorcp Profile Picture
    2,350 Moderator on at

    I did a demo to you showing how you can do it with GroupBy:

    First I created a gallery and the items property I set it as:

    GroupBy(
     colTest,
     "Account ID",
     "Group"
    )

    victorcp_0-1687161797626.png

    Then I created another gallery inside the first one to show the respective Parameters

    victorcp_1-1687161829366.png

    and that is it, any doubts let me know

     

     

  • Sam70 Profile Picture
    285 on at

    Hi @victorcp ,

    The output i need is different. If there are multiple rows of an Account ID, then the columns like Parameter, Score should be like Parameter1, Parameter2... , Score1, Score2...  (In Horizontal manner but inside a gallery)

     

    Regards

  • developerAJ Profile Picture
    4,763 on at

    columns can't be dynamic in order to achieve transformation you are looking for you need to used Addcolumns function but it does not support dynamic column names . it should be hardcoded parameter1 , parameter2 but in your case its dynamic and it gets increased. i am not sure if there is any another way.

     

    Please click Accept as solution and Thumbs Up. 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.

    You can connect with me on LinkedIn

  • Verified answer
    victorcp Profile Picture
    2,350 Moderator on at

    As @developerAJ said, there is no easy way of creating dynamic column, so the only way is creating a table and refer it using groupby.

    If you want to display the info like columns just use a horizontal gallery.

    victorcp_0-1687169672975.png

    victorcp_1-1687169790755.png

     

    If you need anything else let me know

  • Sam70 Profile Picture
    285 on at

    Hello @victorcp  and @developerAJ ,

     

    Thanks. The logic you both suggested works for me.

    Regards

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 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard