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 / How can I filter the d...
Power Apps
Unanswered

How can I filter the dataverse user table by business unit?

(0) ShareShare
ReportReport
Posted on by 114

in canvas, I'm trying to create combo box search for users from the dataverse users table and that works, but im trying to extend it by filtering by a particular business unit. I have tried this expression:

 

Filter(Users, 'Business Unit' = "BU Name")

Getting error: Incompatible types for comparison: These types can't be compared: Record: Text

 

I have also tried this:

Filter( 'Business Unit' = LookUp('Business Units', Name = "BT_BU"))

Getting error: Incompatible types for comparison: These types can't be compared: Record: Record

Categories:
I have the same question (0)
  • Verified answer
    gcmfaizan Profile Picture
    1,022 on at

    @bpw As Bussiness User Column name is LookUp column so to compare with it please try this:

    Filter(Users, 'Business Unit'.Name = "BU Name")

     

     

    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

     

    Thanks!

  • bp3378 Profile Picture
    114 on at

    Thank you that worked!

    Just to clarify, the .Name is the column in the business unit table?

  • gcmfaizan Profile Picture
    1,022 on at

    @bpw Yes you are right, it's a column name.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard