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 gives unexpe...
Power Apps
Answered

Filtering gives unexpected error

(0) ShareShare
ReportReport
Posted on by

Okay, so I have this custom entity, called dh_project. I also created dh_assignments to assign employees to a project. Of course dh_project is a lookup in dh_assignments.

 

Now, in my Canvas App I’d like to be able to select a project that I’ve been assigned to, using a dropdown. I slightly filtered the dh_assignments table in collection colAssignments. The item property of this dropdown looks like this:

 

Filter(Projects, (Project in ShowColumns(colAssignments, "dh_project")))

 

I had to use the ShowColumns because using the “in” operator it expects a one column table.

 

Unfortunately it returns “Can’t convert this data type. Power Apps can’t convert this Guid to a DataEntity” on the Project. Seems pretty straight forward, but I don’t seem to get why the showcolumns/collection is considered to be a “DataEntity” while “dh_project” is nothing but a Guid.

 

Running up and down here, anyone have an idea what I’m doing wrong (chat gpt is running in circles, so no help there).
Thanks,
Jeroen

Categories:
  • Verified answer
    Jeroen J Profile Picture
    on at

    Had to be (after hours of fidgetting):

     

    Filter(Projects, Project in Distinct(colAssignments,Project.Project))

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard