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 / Filtering gallery usin...
Power Apps
Unanswered

Filtering gallery using dropdownlist with condition

(1) ShareShare
ReportReport
Posted on by 4
Hi Guys,
 
I am currently working on filtering gallery with text field and dropdown list filter. The issue that I have currently one of dropdown list filter need additional condition once the value selected. 
 
The filter that I am having issue is the dropdown list called drpProjectStatus which contains 3 values, Blank, Approved, In Progress. Please refer highlighted code in red.
 
If drpProjectStatus selected is blank it return result correctly,
if drpProjectStatus selected equal to Approved also return result correctly.
 
The issue that I am having currently if the drpProjectStatus equal to In Progress. I only want to only return the record if CM1_Approval = drpProjectStatus.SelectedText.Value or TM1_Approval = drpProjectStatus.SelectedText.Value, How can I do this? Thank you
 
 
 
Search(
    Filter(
        'EvaluationReport',
        And(
            Or(
                
                Dropdown_Category.SelectedText.Value = "All",
                'Prodcategory'.Value = Dropdown_Category.SelectedText.Value
            )
        ),
        And(
            Or(
                IsBlank(drpProjectStatus.SelectedText.Value), 
 
                //This Value only trigger if the drpProjectStatus select Approved (which is working)
                'Mkt_Status'.Value = drpProjectStatus.SelectedText.Value,
                'CMT_Status'.Value = drpProjectStatus.SelectedText.Value,
                'TM_Status'.Value = drpProjectStatus.SelectedText.Value
                 
               //I need to add new condition if drpProjectStatus selected = In progress (this still not display value)
               CM1_Approval = drpProjectStatus.SelectedText.Value,
               TM1_Approval = drpProjectStatus.SelectedText.Value,
                
            )   
        ),
        And(
                
                'GM_Status'.Value <>"Rejected", 'CMT_Status'.Value <>"Rejected"
              
        ),      
        And(
            ControlStage <> "Approved"
        )
        
    ),
    
    txtNameFilter.Text,
    Title
)
Categories:
I have the same question (0)

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard