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 dataverse table...
Power Apps
Unanswered

Filter dataverse table data based on Logged in user

(1) ShareShare
ReportReport
Posted on by 74
Hi all
 
I have required to filter the dataverse table data based on logged in user of model driven app,
There is one of the column "User" as people picker  in my dataverse table A. Based request the user will be assigned for the records and based on logged in user need to display only those logged in user records in the  Model driven App.
 
Appreciate your help in advance
 
Many Thanks
SG
 
 
I have the same question (1)
  • Shashank Bhide Profile Picture
    942 Moderator on at
    couple of ways.
     
    1. You can achieve this using a custom security role for your "table", you can set the "read/create/update/delete" privillege at "user" level so that those who created the record will only be able to read/create/update/delete.
    2. You can also, write a plugin on "read" message and filter out using code the records that don't match the logged in user. (this can have perf issues if data is large)
    3. Create a canvas app or some custom web resource which filters using custom logic written in JS/TS.
  • Jonathan Manrique Profile Picture
    2,687 on at
    Hi 
     
    When we log in to a Model-Based Application, the system already detects who is the user who is entering the session, in this sense depending on the security role that you have configured (at the user, business unit or organization level) the user You will be able to see the records of the table through the default field called owner.

    To achieve better filtering you can create a view where you set the owner to be equal to the current user. This owner by default is assigned to the user who creates a record, although you can have other assignment mechanisms.

    What I understand from your question is something that the system already does by standard with the security roles and the owner field, making another configuration requires code and plugins that could have an impact on the data retrieve when the view is displayed.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard