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 / Can't figure out Why m...
Power Apps
Answered

Can't figure out Why my filter does not work

(0) ShareShare
ReportReport
Posted on by 5


I'm trying to filter some values in a Gallery. All the sudden I can't do it:

 

The formula is simple:

 

Filter(Collection1; true; Collection1.CodEqptoSp = MCSSelected ; true )

 

In the OnVisible I do collect the data:

 

ClearCollect(Collection1 ; EqptoSOM_Data)

 

However if I look at the values I can see them in the formula bar:

 

Look that the value 8 exist's in the collection1:

tela1.PNG

 

 

Here the variable value is 8, however the main screen shows the colection emptytela2.PNG

 

Only for fun if I try "exactin" all data is there and no filter is applyed...

 

tela3.PNG

 

 

Can someone give me some light in what I'm doing wrong?

 

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @NoOneBRZ 

    I don't know why you have "true" in your filter.  It probably isn't necessary.

    Filter(Collection1; CodEqptoSp = MCSSelected)

      

  • NoOneBRZ Profile Picture
    5 on at

    The true is there to add future references... 

    I think I've to understand more about delegation... I thought that I needed to add the references...

     

    Thanks!!!!

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @NoOneBRZ 

    As long as your datasource is less than the maximum number of items allowed, (this can be set to 2000 max), your collection and the functions that use it are not limited by delegation. 

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 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard