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 in gallery with...
Power Apps
Suggested Answer

Filter in gallery with Excel data does not work

(0) ShareShare
ReportReport
Posted on by 6
Filtered values ​​from an Excel table are not output or displayed.
 
Function: Filter(Table1;'Device No.'=DataCardValue39.Text) 
Copilot: This expression filters Table1 for rows in which the device no. matches the text value of DataCardValue39. 
As long as both arguments are converted to text, it works, but then it causes the delegation problem. 
If the source is a SharePoint list with the same column, the function works.
Where could the problem be?
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,493 Super User 2025 Season 2 on at
    Question,
     
    Is Device No a number? 
     
    And if I understand correctly, if you do, Text('Device NO.') it works?
     
    To me that tells me excel thinks its a Number and if so, then you need to use the Value of DataCardValue39.Text
    And to make sure you dont delegation
     
    Do this
     
    With(
        {ConvertToNumber: Value(DataCardValue39.Text)  },
     
        Filter(Table1, 'Device No.' = ConvertToNumber)
    )
     
  • ME-29071948-0 Profile Picture
    6 on at
    You understand correctly. I've already tried converting it as a number.
    Unfortunately without success, as an error message
    then appears stating that different formats are being compared with each other.

    Filter(Table1;'Device No.' = Value(DataCardValue39.Text)

    The Device No. column is a number column from a Shapoint collection,
    which was transferred to Excel using Power Automate. The column format in Excel is default.

    I have the feeling that the values ​​from Excel are unconverted, neither numbers nor texts.
  • ME-29071948-0 Profile Picture
    6 on at
    By trying it again I can confirm my suspicion!
    
    I have now added a new column to the Excel table and prefixed the number with the text “DeviceNo.-”.
    
    Now the column from Excel is also recognized as a text format in Power Apps.
    
    Additionally, I formatted the value from the datacard as text.
    
    Filter(Table1;'DeviceNo.Excel'="DeviceNo." & "-" & Text(DataCardValue39.Text;"#"))
     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard