Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Can I create a filter that excludes all other results when only one record meets the requirements?

(0) ShareShare
ReportReport
Posted on by 9

When working in Customer Service Hub - Cases, I am trying to create a view that shows cases that include only completed work orders.

The problem is some cases have multiple work orders, and these work orders will have different system statuses and substatuses. If I am trying to create a filter that shows cases that does not include work orders with a substatus of "to book" this is showing me cases that include 2 work orders 1 at "to book" and 1 at "complete".

I would like to make the filter "harsher" and if any record within the case does not meet the requirements then it should be ignored.

Thanks for any help.

Kind regards,

Thomas.

SCR_2D00_20230216_2D00_l80.png

  • Verified answer
    Carol J Kelly Profile Picture
    7 on at
    RE: Can I create a filter that excludes all other results when only one record meets the requirements?

    Try creating the view from work orders, filter them first, then add the related case in the view.

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Can I create a filter that excludes all other results when only one record meets the requirements?

    Hello,

    I'm afraid it won't be possible to create the view you want using OOB designer but it's doable using FetchXml:

      
        
          
          
        
        
          
            
          
        
        
          
            
          
        
      
    

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans