cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mahmoodhsaud
Helper IV
Helper IV

How to filter dataverse at server level

Hi Everyone,

I wanted to know is there any way to filter data directly from dataverse instead of doing it on the app level. As there are more than 100 records, we only wanted records based on the user so that performance won't be affected.

 

Thanks in Advance

Regards,

Mahmood

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
BCLS776
Super User
Super User

As long as you set up your queries to use delegable operations, the service will delegate as much as it can automatically. See this doc for more details. It sounds as though a Filter on the current user is what you are after, and Filter is delegable.

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

Drrickryp
Super User
Super User

@mahmoodhsaud 

You can use Dataverse views to filter and sort at the server level.  In PowerApps, you can reference the table as well as the view that you want to use.  When you reference the view in PowerApps, the filter is created automatically._1.png

View solution in original post

2 REPLIES 2
BCLS776
Super User
Super User

As long as you set up your queries to use delegable operations, the service will delegate as much as it can automatically. See this doc for more details. It sounds as though a Filter on the current user is what you are after, and Filter is delegable.

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

Drrickryp
Super User
Super User

@mahmoodhsaud 

You can use Dataverse views to filter and sort at the server level.  In PowerApps, you can reference the table as well as the view that you want to use.  When you reference the view in PowerApps, the filter is created automatically._1.png

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,684)