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 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)
  • 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
    )
  • jgarciac Profile Picture
    172 on at
     
    The mistake remains
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 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
    )
     

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
Kalathiya Profile Picture

Kalathiya 428

#2
WarrenBelz Profile Picture

WarrenBelz 374 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard