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 / Filter component issues
Power Apps
Answered

Filter component issues

(1) ShareShare
ReportReport
Posted on by 216
My app has several identical screens with galleries and filters. As there are too many controls on each screen, I am trying out a component with the filters.
It's my first time doing one of these and I'm having a few issues.
 
The first one is that I'm using table input properties to reference data in the filters.
One of them is throwing this error with the data source:
The table passed in has none of the expected columns: SampleBooleanField, SampleNumberField, SampleStringField
I know that there is a sample table added when you create a property that's an input but I've removed reference to that in the component. 
In case it was a bug I tried deleting the property and adding again but I get the same error.
Initially I was referencing a named formula collection and after tried to use the data source directly, but get the same error for both.
The other ones are set up the same but are working fine.
 
The 2nd is that I have a Show/Hide Filters toggle and I want to reduce the height of the component depending if that value is checked. But I get an error if I try to reference that toggle. Do I need to add it as another input property to get it to work?
 
Lastly, how can I reference the selected control value from the gallery items? Thanks in advance!
 
 
 
 
Categories:
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at
    Hi @CAlvy
     
    In the future please make sure to share pictures. Its a graphical ui, just explaining in words isn't enough and can cause confusion and delay in answering you.
     
    However in this case I can tell you the issue.
     
    Whenever you create a Custom Component and then you add a Custom Property and or Action/Function etc, and you specify the incoming Parameters it generates the list of parameters and then it puts in defaults. 
     
    When a property specifically has a Table and or Record parameter for people to pass in, it creates a Default Schema for that property and it looks like
     
    {
     SampleBooleanField: false,
    etcetc
    }
     
    Your job is to go to that property and set the correct schema
     
    1. Go to your App
    2. Go to your Components Tab
    3. Select the Component
    4. In the Drop Down (top left) where properties can be selected, the line RIGHT UNDER your property name, indented, is the properties you created for it.
     
    Click on the one that is a Table and or Record and fix the schema
     

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

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard