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

Drop down gallery

(1) ShareShare
ReportReport
Posted on by

Hi 

I need help, I have a gallery in which I create buttons based on data from Sharepoint.
It works great for me on one procedure and when I wanted to implement it here and there it doesn't work for me and I don't know where the error could be.
And the only thing that changes there is the column in sharepoint which is defined as multiple choise 

 

GroupBy(
    SortByColumns(
        Filter(
            AddColumns(
                'Best Practice Ideas';
                'New colum';
                'Inter-cluster Sharing paint shop cluster'.Value
            );
            Not(IsBlank('New colum'))
        );
        "New colum";
        SortOrder.Ascending
    );
    'New colum';
    Data
)
 
Here is that collumn in sharepoint 
 
 
 
Any help would be appreciated, I can't move anymore
 
 
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi 
     
    Which one is multichoice, 'Inter-cluster??????
     
    If you do a ClearCollect, to a random collection for testing, do you see the values?
    Also, why are you doing the AddColumns, before the filter hits?
     
     
  • CU11082038-3 Profile Picture
    on at
    Yes that inter cluster is multiple choice.
    What you mean ClearCollect ? 
     
    thanks for your answer :)
  • CU11082038-3 Profile Picture
    on at
    this code works almost fine, only we don't split the values ​​in that given row.
    For example, if I have Maintenance and Logistics there, it merges them into one, and I would need them to be divided separately,
    that one button Maintenance and the other Logistics
    GroupBy(
        SortByColumns(
            AddColumns(
                Filter(
                    'Best Practice Ideas';
                    Cluster.Value = "Paint shop cluster"
                );
                'New colum';
                Concat('Inter-cluster Sharing';Value; ";")
            );
            "New colum";
            SortOrder.Ascending
        );
        'New colum';
        Data
    )
  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at
    did u make sure to copy your whole code snippet? it looks cut off, or am i wrong?

    if its not cut off can u give this a try:
    GroupBy(
        SortByColumns(
            Filter(
                AddColumns(
                    'Best Practice Ideas',
                    'NewColumn',
                    Concat(ThisItem.'Inter-cluster Sharing paint shop cluster'.Value, ", ")
                ),
                Not(IsBlank('NewColumn'))
            ),
            "NewColumn",
            SortOrder.Ascending
        ),
        'NewColumn',
        "Data"
    )
    
    if the Post help you solve your issue, please mark it as verified answer and give it a like so we can help other in the community with similar issues 

    Greetings
  • CU11082038-3 Profile Picture
    on at
    Hi mmbr1606
    My code is all copied
    And unfortunately yours doesn't work for me :(

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard