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
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
 
 
Snímka obrazovky 2024-07-23 085646ddd.png
Snímka obrazovky 2024-07-23 085534.png
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator 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,629 Super User 2026 Season 1 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

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard