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 / No values shown by com...
Power Apps
Unanswered

No values shown by combining multiple filters in a gallery

(0) ShareShare
ReportReport
Posted on by 105

Hi,

I need your help for solve this matter. I have a gallery with the following functions inserted in the Items property:

SortByColumns(
 Filter(
 DB_DettaglioConsegne;
 And(
 DataOraArrivo >= FiltroDataVigilanza.SelectedDate;
 Or(
 IsBlank(FiltroAutoreVigilanza.Selected.Value);
 PortineriaIngresso = FiltroAutoreVigilanza.Selected.Value
 );
 StatoConsegna.Value = FiltroStatoVigilanza.Selected.Value
 )
 );
 "DataOraArrivo";
 SortOrder.Ascending
)

To my eyes, the functions seem to be entered correctly (no errors are highlighted), but the gallery does not show any items even though it should.
The error is on the Filter part but I don't understand where I am going wrong.
Any ideas?

Categories:
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @roby9390 

     

    can you try this please:

    SortByColumns(
     Filter(
     DB_DettaglioConsegne,
     DataOraArrivo >= FiltroDataVigilanza.SelectedDate &&
     (IsBlank(FiltroAutoreVigilanza.Selected.Value) || PortineriaIngresso = FiltroAutoreVigilanza.Selected.Value) &&
     StatoConsegna.Value = FiltroStatoVigilanza.Selected.Value
     ),
     "DataOraArrivo",
     SortOrder.Ascending
    )
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • roby9390 Profile Picture
    105 on at

    Hi @mmbr1606 and thank you for the answer.

    Just tried it but I have the same problem.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    HI @roby9390,

    I think if there is no syntax error, there must be no items mateched with your condition.

     

    Based on your syntax, you want to filter items:

    1). with date greater than or equals to selectedDate

    2). and with PortineriaIngresso selected from FiltroAutoreVigilanza(blank allowed)

    3). and with StatoConsegna selected from FiltroStatoVigilanza

     

    All above conditions must be met at the same time, is this what you want to achieve?

  • roby9390 Profile Picture
    105 on at

    Ok found the error but now I have the following problem. In the below functions of Item property of my gallery I have inserted this code:

    SortByColumns(
     Filter(
     DB_Leci;
     'Data/ora creazione' >= FiltroDataHomePage.SelectedDate;
     StatoMezzo.Value = FiltroStatoVigilanza.Selected.Value;
     Autore.DisplayName = FiltriPortineria.Selected.Value
     );
     "DataOraIngresso";
     SortOrder.Ascending
    )

    This run correctly but I want add another filter that OnCheck of ToggleButton named "FiltroVisitatori" shown only the record that contains in the multiple choices column named "CaricoScarico" the value "Visitatori". 

    How can I do?

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard