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 / Filtering Excel Table,...
Power Apps
Answered

Filtering Excel Table, the property on this control expects Text values

(0) ShareShare
ReportReport
Posted on by 2

I am trying to display multiple lines of an Excel table (hosted on OneDrive and connected as data source) using the filter function, in a label.

 

My Excel table, named AnimalData, is as follows: 

AnimalAgeBreedName
dog1labAnnie
dog2labBeth
cat4bengalCarla
cat4persianDuke
dog1labEllie

 

If I wish to get all animals aged 1, I was trying the following code inside of the label box: 
Filter(AnimalData,Age="1")

 

However, I get the error "the property on this control expects Text values. The rule produces Table values which are incompatible.... How to Fix: Change the rule to produce a {0} value". 

 

Categories:
  • Verified answer
    DavidZoon Profile Picture
    738 Most Valuable Professional on at

    Hello,

    I think you are trying to get the result of your filter into a simple text label.
    Your filter can return several values, it must be put in an object that can display several records, for example, a gallery, a data table, a combobox...

    Try to create a gallery and put your Filter(AnimalData,Age="1") in its Items property (you may have to remove the " ", if your data is formatted as a number)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard