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 / Filter gallery from dr...
Power Apps
Answered

Filter gallery from drop-down list

(0) ShareShare
ReportReport
Posted on by 172
Hello again, please help, I'm trying to filter a gallery, using two fields, one text, which works fine for me and another a drop-down list, but I've tried several ways and they all give me error...
The drop-down list is declared as follows:
 
Distinct('TXXXXXXXXXXXXXX';Estado_Ingreso.Value)
 
Gallery Filter:
 
SortByColumns(
    Search(
        Filter('TXXXXXXXXXXXXXX';
        Estado_Ingreso=Select_Etapa.Selected.Value);
        TextInput3.Text;'Nombre del Servicio');
    varSortColumn;varSortDirection)
 
but I get the following error:
 
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
    pls try the following:
     
    Ensure your drop-down is correctly populated with distinct values: Distinct('TXXXXXXXXXXXXXX', Estado_Ingreso.Value)
     
    Update the Filter condition to correctly reference the Result column from the drop-down list:: SortByColumns(
        Search(
            Filter(
                'TXXXXXXXXXXXXXX',
                Estado_Ingreso.Value = Select_Etapa.Selected.Result
            ),
            TextInput3.Text,
            "Nombre del Servicio"
        ),
        varSortColumn,
        varSortDirection
    )
     
  • jgarciac Profile Picture
    172 on at
     
    The mistake remains
  • Verified answer
    jgarciac Profile Picture
    172 on at
     
    I found the error would be like this, thank you very much!!
     
    SortByColumns(
        Search(
            Filter(
                'TXXXXXXXXXXXXXX';
                Estado_Ingreso.Value = Select_Etapa.Selected.Value
            );
            TextInput3.Text;
            'Nombre del Servicio'
        );
        varSortColumn;
        varSortDirection
    )

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard