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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Quick filter applies wild cards - bad performance result

(4) ShareShare
ReportReport
Posted on by 811

On each listpage in ax 2012 there is the "quick filter" field on the right top of the listpage, just above the grid section.

The problem here is, when a user enters a search word, ax applies wildcards in backgroud - you have no control over it. 

Eg, you search for a user by name and you enter "Bob Hope". Ax will search using "*Bob Hope*" and in sql it becomes "And name like '%Bob Hope%'.

Anyone who knows a little bit about sql knows that putting a wildcard in front of a search is a killer for performance. It even has as a result that even if you would have an index on that field, the index is not used because of the wildcard in front. 

In our case, one of our clients has more than 2.000.000 customers in its system and when searching for a customer using the quick filter, it takes forever to find results. But when using the same search term using the right click "filter by field" the results are found instant.

It is pretty hard to explain to our client why he should not be using this quickfilter, "why is there when we can't use it"?

So my question is: can anyone tell me why this is was designed like this AND, even better, if we can tweak this behaviour. (I took a trace, but can't find a tweak-point, it seems like a part of this behaviour is handled in kernel code).

Thanks for your reply!

Kr,

Sven

*This post is locked for comments

I have the same question (0)
  • Guy Terry Profile Picture
    28,924 Moderator on at

    I've noticed something similar in an environment which has 2 million items. I can't answer your specific questions, but I would suggest to enable Filter by Grid (Ctrl + G). It then becomes as easy to filter for Customer in the data grid as it is by using the quick filter bar.

  • André Arnaud de Calavon Profile Picture
    301,037 Super User 2025 Season 2 on at

    Hi Sven,

    This is a great question. It is by design. This is indeed done within the kernel. We can't control it. I would suggest to create a support issue for Microsoft.

    Teaching the workaround is recommended here. At some customers it was hard to explain why this field automatically adds the wild cards and the filter by field or advanced query form not. They stated they would like to have consistency.

  • Annette Theissen Profile Picture
    1,653 on at

    Hi Sven,

    I only can confirm the behaviour and that we haven't found a way to convince our customers (or ourselves) that it's a good thing ;-)

    Only replying so that you have more backup from the community if you make a request to MS.

    Kind regards,

    Annette

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans