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

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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard