Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Filter Customer Statem...
Finance forum
Suggested answer

Filter Customer Statement Query to NOT include list of values

Posted on by 3
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.
 
  • Layan Jwei Profile Picture
    Layan Jwei 7,150 Super User 2024 Season 2 on at
    Filter Customer Statement Query to NOT include list of values
    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
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    Alireza Eshaghzadeh 11,705 Super User 2024 Season 2 on at
    Filter Customer Statement Query to NOT include list of values
    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
  • Suggested answer
    Sankar.R Profile Picture
    Sankar.R 87 on at
    Filter Customer Statement Query to NOT include list of values
    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.
  • Suggested answer
    CU31100108-0 Profile Picture
    CU31100108-0 2 on at
    Filter Customer Statement Query to NOT include list of values
    Check this

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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,129 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans