RE: Filtering by 'Recent Opportunities' field
Hi Ted,
Are you referring to the Recent Opportunities sub-grid in the Contact main form?
Unfortunately, the OOB view editor can't do it.
The filter conditions are set like this:
- First, the contacts fields for all opportunities contain data.(These opportunities are set to the A collection.)
- Then, select the contacts of Recent Opportunities. (These contacts are set to the B collection.)
- Get all the opportunities(C collection) associated with these contacts(B collection).
- Finally, we screen out the remaining opportunities in addition to these opportunities(C collection) in all opportunities(A collection).
This is the filter for Recent Opportunities view:
Logically, we should set the following filter for the view we want:
However, the test results are wrong.
Because it has a two-layer screening process, the logic created by the view is from bottom to top.
That is, we cannot filter out the remaining collections in a large collection.
Specifically, a contact has recent opportunities and non-recent opportunities. We can find all non-recent opportunities and their contacts, and then we can only find their opportunities based on these contacts. There will be recent opportunities in the results.
In addition, the judgment logic of other screening conditions also needs to be classified. D365 does not have this OOB feature.
So there is no OOB view creation way to meet your needs.
Could you simplify your needs if possible? This way we can find an algorithm that can use the OOB function.
Hope this helps.
Best Regards,
Lu Hao