web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Advanced Filter Based On Value In Different Table

(1) ShareShare
ReportReport
Posted on by
I have a Users table with a column for /Service Type/, for simplicity reasons imagine it looks like this:
 
UserService TypeGeoArea
Person1ServiceType1, ServiceType2Denver, Colorado Springs
Person2ServiceType2, ServiceType3Los Angeles, San Diego
Person3ServiceType4Denver, Colorado Springs
 
In an Orders table, I also have a column for service area, a simplified version would be this
 
OrderNumberServiceTypeGeoArea
101ServiceType2Denver
102ServiceType4Denver
103ServiceType2San Diego
104ServiceType3San Diego
 
Is there a way to create a view of orders with a filter where the Service Type and the Geo Area of the user is the same as the order?
In the advanced find, I can find  on the Orders, I can find the User table, but I can't create a filter that does something like this:
 
Order.ServiceType = User.ServiceType
Order.GeoArea = User.GeoArea
 
The problem is that in Advanced Find, when tell it to look at the Service Type on the order, I am forced to enter or select an actual value from the table and I can't tell it to look at a different table to compare values..
 
In essence I'm trying to create a view that will filter based on who is looking at it... this way if Person1 is looking at the view, they would only see orders in Denver and Colorado Springs that have Service Type 1 or Service Type 2. 
 
Any ideas?
I have the same question (0)
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    Based on the information you provided, conducted some tests.
    Take the values of ServiceType and GeoArea attributes in User as conditions, filter them in the Order table, and manually assign the filtered Views to the corresponding User.
    In this way the User can see the View that matches the criteria.
    The steps are as follows.
    Step 1. Add the view filter criteria for the Order entity.
    1. Here take user 'Bruce Lee' as an example.

     
    1. This is the view of Order entity.

     
    1. The filter conditions are as follows.

     
    Step 2. Save the filtered views and assign them to the corresponding users.
    1. This is the view after filtering, which meets the expected conditions.

     
    1. An asterisk beside the view name indicates you edited the view and haven't saved it. Therefore, save it and name it.

     
    1. Assign the saved new view to a user.

     



    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Dengliang Li

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 184 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 125

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans