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 / IF statement - show SP...
Power Apps
Answered

IF statement - show SP List without not working

(0) ShareShare
ReportReport
Posted on by 9

Hi,

I have a simple If statement which shows a list either with or without Filter function.

 

If(IsEmpty(Dropdown1.Selected), 'Issue tracking', Filter('Issue tracking', Location in Dropdown1.SelectedText.Value))

 

It checks if something in a dropbox field is selected or not. If nothing is selected it should just show the SP List 'Issue tracking' without any filtering. (This part seems not to work) If something is selected it shows the SP List with a Filter function. (this is working!). 

Does anyone has an idea what is wrong here.... 

Categories:
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Add "All" in your Location list in the first entry. That way it will be default selected.

    Write this in your item:

    Filter('Issue tracking', Location.Value=Dropdown1.Selected.Value ||Dropdown1.Selected.Value ="All"))

  • Verified answer
    minimax80 Profile Picture
    9 on at

    After 2 days of trying i just found the solution. My IsEmpty did not work the way i expected it and i replaced it by IsBlank

    If(IsBlank(Dropdown1.SelectedText.Value), 'Issue tracking', Filter('Issue tracking', Location in Dropdown1.SelectedText.Value))

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard