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
Answered

Filter problems

(0) ShareShare
ReportReport
Posted on by 58

Hello everyone,

I have a listbox in which I only want to display the email addresses of people who have also booked a specific room. The formula I use for this is:

 

Filter(Reservierungen;Reservierung=DataCardValue3.SelectedDate;Raum=DataCardValue4.Text)

 

That works too; However, there are values ​​with "No room selected". In this case, no value should be displayed in the list box. I can't manage to change the filter so that it only shows values ​​when a room is selected and nothing when "No room is selected". How do I get that???

 

Thanks in advance!

Categories:
I have the same question (0)
  • AndrewR1 Profile Picture
    1,572 Moderator on at

    Hi @Masakichi123 which data card is the room selection? 

    The code would look something like this for the items property:(replace RoomSelected.Value with your data card) 

     

    If(!IsBlank(RoomSelected.Value),Filter(Reservierungen;Reservierung=DataCardValue3.SelectedDate;Raum=DataCardValue4.Text))

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. Remember, you can accept more than one post as a solution.

     

    If the content was useful in other ways, please consider giving it Thumbs Up.

     

    Thanks
    Andrew

  • Masakichi123 Profile Picture
    58 on at

    Hi @AndrewR1 

     

    thanks for your message. 

    The problem is that the "empty" values ​​have the value "No room selected" because it is displayed in a different place.

     

    Greetings,

    Masakichi

  • Verified answer
    AndrewR1 Profile Picture
    1,572 Moderator on at

    Hi @Masakichi123 ok it would be something like this: 

    If(RoomSelected.Value <>"No room selected",Filter(Reservierungen;Reservierung=DataCardValue3.SelectedDate;Raum=DataCardValue4.Text))

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. Remember, you can accept more than one post as a solution.

     

    If the content was useful in other ways, please consider giving it Thumbs Up.

     

    Thanks
    Andrew

  • Masakichi123 Profile Picture
    58 on at

    Hi @AndrewR1 ,

     

    I've adjusted the formula:

     

    If(Gallery1.Selected.Raum <> "Kein Raum ausgewählt";Filter(Reservierungen;Reservierung=DataCardValue3.SelectedDate;Raum=DataCardValue4.Text))

     

    It worked!

     

    Thanks a lot for your help! 🙂

     

    Greetings Masakichi

     

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 516

#2
WarrenBelz Profile Picture

WarrenBelz 428 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 292

Last 30 days Overall leaderboard