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 Apps
Unanswered

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

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

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard