Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Filter Data from CDS in Model-Driven Apps

Hello Everyone,


I am working on Model-Driven apps and I want to create one View for the single entity but I am facing few issues which are described below.


I have an entity whose name is Employee and also I have an Employee module. I want to show the employee record from Employee entity but there is one condition that the record will display only related to the currently logged-in user, Is it possible in Model-Driven apps to apply filter based on logged in user, If 'Yes' then how?


Note: logged-in user name will also exist in the Employee entity.


Please help me to resolve this issue. I would be thankful for you.


Thanks & Regard's 



Dual Super User
Dual Super User

Re: Filter Data from CDS in Model-Driven Apps

Hi @Vaibhav_Shukla 


To create this, you can add a view with the filter to corresponds to current logged-in user. You can use a lookup field pointing to User entity to select the option "equal current user".

When the above view is saved and published, you can add it to your Model Driven App.


Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources


Power Apps Super User Class of 2020

Check it out!


New Badges

Check it out!


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,385)