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 / When selecting value f...
Power Apps
Unanswered

When selecting value from gallery navigate to screen and filter with only selected values

(0) ShareShare
ReportReport
Posted on by 98

Hi I have a gallery with different reports, this reports I created them in a SharePoint list.

Then I also have the Sub Tasks of the reports, that I created in another SharePoint list.

 

I want when selecting a report from the gallery, navigate to other screen and in the new screen only see the related tasks with the report.

I have the first sharepoint Reports List classified with this

Aydeedglz_0-1716322669643.png

 

And in the sub task share point list I created a Lookup code

Aydeedglz_1-1716322726237.png

 

I have created this formula in an icon of the gallery:

 

Set(
    varSubTaskFilter,
    galRep_1.Selected.Code 
);
Navigate('Reports Sub Tasks')
 
In the new screen I have this:
 
//Filter('Reports Sub Tasks',('Code Lookup').Value = galRep_1.Selected.Code)
 
But is showing different errors:
-It says is "Table Value" and it was expecting "Value" or "Number"
-Only blank gallery without errors
-Showing all sub tasks to all of the reports
 
 
 
 
 
 
 
 

 

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Aydeedglz ,

     

    Assuming 'Code LookUp is a LookUp type column with multiple selections enabled, please try the below formula for the Items property of the gallery:

    Filter(
     'Reports Sub Tasks',
     galRep_1.Selected.Code in 'Code Lookup'.Value
    )

     

    Please beware that this solution is not delegable and will cause issues if you have more than 2000 items in your 'Report Sub Tasks' list.

  • Aydeedglz Profile Picture
    98 on at

    Hi, is not working 

     

    Aydeedglz_0-1716410564660.png

     

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Aydeedglz ,

     

    When in the formula bar, can you please select MCR_galTask.Selected.Code to see what it evaluates to? It should be a value that's in the Code column of the Reports list.

     

    If the first returns a valid value, please select the Filter function to see what that evaluates to and share the outcome.

     

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard