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 / incompatible type for ...
Power Apps
Unanswered

incompatible type for comparison. these type cant be compared : Record, error.

(0) ShareShare
ReportReport
Posted on by 215

Hey everyone !

lunalovegood_0-1695201709047.png

i cant seem to display my list in gallery based on my selection in comboBox , the underlined = , displays error incompatible type for comparison. these type cant be compared : Record, error. 
i dont know how to resolve it .

thank you in advance !

 

 

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,674 Super User 2024 Season 1 on at

    @lunalovegood - assuming your datasource is SharePoint and the Keywords field is a single select Choice field, try changing 'Keywords' to 'Keywords'.Value in your expression.

     

    If that does not work, please confirm:

     

    1. Your data source
    2. The field type for Keywords.
    3. What you have in the Item property for ComboBox 2
  • lunalovegood Profile Picture
    215 on at

    1.My data source is from sharepoint list titled "*** Lesson Learn"
    2. this is the field type for keyword

    lunalovegood_0-1695257650095.png

    3.

    lunalovegood_1-1695257740294.png

     

  • Ami K Profile Picture
    15,674 Super User 2024 Season 1 on at

    @lunalovegood what is the error message which appears when you try using 'Keywords'.Value in your expression?

  • lunalovegood Profile Picture
    215 on at

    this is the error 

    lunalovegood_0-1695263133572.png

    the red underlined "=" display error ; incompatible types for comparison. these types cant be compared :Record,Text

  • Ami K Profile Picture
    15,674 Super User 2024 Season 1 on at

    @lunalovegood you need to follow what I first suggested, and then confirm if you still receive an error. 

     

    Filter (
    	'HEO Lesson Learn',
     IsBlank(ComboBox2.Selected.Value) || IsEmpty(ComboBox2.Selected.Value) || Keywords.Value = ComboBox2.Selected.Value
    )

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard