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 Platform Community / Forums / Power Apps / Filter component issues
Power Apps
Unanswered

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:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,102 Super User 2025 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

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 759 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard