cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Re: How to filter combo box items based on user login

@jeniviya 

Sorry, but I am unable to help solve your problem.  The level-of-detail being provided in your responses is not sufficient.  I wish you the best of luck in finding the answer.

Highlighted
Community Support
Community Support

Re: How to filter combo box items based on user login

Hi @jeniviya ,

Could you please share a bit more about the data structure of your "Access Roles" Entity?

Could you please show more details about the formula you typed within the Items property of the Customer Name ComboBox?

 

I assume there are two Text type columns in your "Access Roles" Entity to store the Customer name and corresponding user. Based on the needs that you mentioned, I think the Filter function could achieve your needs.

 

Please set the Items property of the Customer ComboBox to following:

Distinct(
      Filter(
            'Access Roles',
            UserName = User().FullName
      ),
      CustomerName
)

Note: The UserName and CustomerName are both Text type columns in your "Access Roles" Entity. The UserName is used to store the User name, e.g. 'Smith Liu'. The CustomerName is used to store the Customer name, e.g. citi bank, citi finance.

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,236)