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 function error ...
Power Apps
Answered

Filter function error Incompatible Types cannot be compared: GUID, Table

(0) ShareShare
ReportReport
Posted on by 52

Tushya_Trivedi_0-1642761887130.png

Tushya_Trivedi_1-1642761920321.png

Tushya_Trivedi_2-1642762202532.png

 

I have a Knowledge Assesments Table in Dataverse where 'Knowledge Assessment' is an automatically generated GUID, when I am trying to get rows from this table that match from a item selected in 'Knowledge Assesment Lists Gallery' (as shown in the formula I select the GUID from the gallery item) I am getting this error. I am trying to display the record that was selected on Take Assessment Screen's Gallery2. How to resolve this?

 

I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Filter('Knowledge Questions', 'Knowledge Assessments'.'Knowledge Assessment' = 'Knowledge Assessment List'.Selected.'Knowledge Assessment')

    First you put the list
    Than you put the name of the field in that list, that I assume it is: 'Knowledge Assessments'.'Knowledge Assessment'

     

    And, after that, you put the thing to compare, that I assume it is:

    'Knowledge Assessment List'.Selected.'Knowledge Assessment'

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • Tushya_Trivedi Profile Picture
    52 on at

    Tushya_Trivedi_0-1642763217764.png

    like this? still getting the same error

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Knowledge Assessments'.'Knowledge Assessment' if you put a "."

    Does not appear nothing?

    Like: 

    Knowledge Assessments'.'Knowledge Assessment'.Value or somethnig?

  • Tushya_Trivedi Profile Picture
    52 on at

    No nothing appears , also can't understand why it return table data when I want GUID, since Knowledge Assessment is a GUID.

  • Tushya_Trivedi Profile Picture
    52 on at

    Tushya_Trivedi_0-1642764388273.png

     

    here Knowledge Assessments.Knowledge Assessment should return GUID but instead it says type table

     

  • Verified answer
    Bipin D365 Profile Picture
    971 on at

    Hi @Tushya_Trivedi ,

     

    Try below code and it works on my canvas app -

    Filter(
     'Knowledge Questions',
     'Knowledge Assessment'.'Knowledge Assessment'='Knowledge Assessment List'.Selected.'Knowledge Assessment'
    )

     

    bipinshan_0-1642767248321.png

     

    You have added extra 'S' in your formula for knowledge assessment and that is why it did not worked.

     

    Regards,

    Bipin Kumar
    Follow my Blog: https://xrmdynamicscrm.wordpress.com/

    Kudos and Accept my answer if helpful!

  • Tushya_Trivedi Profile Picture
    52 on at
    Filter(
     'Knowledge Questions',
     'Knowledge Assessment'.'Knowledge Assessment'='Knowledge Assessment List'.Selected.'Knowledge Assessment'
    )

     

    Here GUID value is extracted from Knowledge Assessment.Knowledge Assessment , that's how it works for GUID?

  • Bipin D365 Profile Picture
    971 on at

    Hi @Tushya_Trivedi ,

     

    You are correct.

    We rely on GUID because it's unique and can not be duplicate.

     

    Regards,

    Bipin Kumar
    Follow my Blog: https://xrmdynamicscrm.wordpress.com/

    Kudos and Accept my answer if helpful!

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard