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 :
Finance | Project Operations, Human Resources, ...
Answered

Filter Customer Statement Query to NOT include list of values

(1) ShareShare
ReportReport
Posted on by 7
We run a PDF batch for all customer statements every month. We have a small list of customers that need an excel statement versus a PDF one. Right now, we just send the excel one, manually, after including them in the PDF batch. Any thoughts on how we can separate these out? Is there a field we can use in the query selection screen? Or is there a way to exclude the list from the PDF batch and only run the excel batch for those customers? I’ve tried using “!” in the customer account field but it will not work for a list, only 1 value.
 
Screenshot 2024-11-01 094033.jpg
I have the same question (0)
  • Suggested answer
    CU31100108-0 Profile Picture
    3 on at
  • Suggested answer
    Sankar Ramalingam Profile Picture
    262 on at
    You can exclude a list of customers by giving like !CustA, !CustB. Also, check if you can include customer group instead of customer account just incase your requirment matches.
  • Verified answer
    Alireza Eshaghzadeh Profile Picture
    14,869 Super User 2026 Season 1 on at
    Please user following query filter. You need to add ! on each customer to exclude it from the report.
    !Customer1, !Customer2, !Customer6
    More info about advanced query filter:Advanced filtering and query syntax - Finance & Operations | Dynamics 365 | Microsoft Learn
  • Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi,
     
    If you want to use "!" for more than one customer, then you need to separate each value with a comma
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 804

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 639 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 528

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans