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)

How to filter display method field in ax 2012

(0) ShareShare
ReportReport
Posted on by 2,486

I am using display method field in form which I want to filter by pressing CTRL+G or some other approach.

Thanks,

Raziq

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Anton Venter Profile Picture
    20,345 Super User 2025 Season 2 on at

    Hi Raziq, it is not possible to filter or sort with display methods.

  • Suggested answer
    Community Member Profile Picture
    on at

    As Anton said it's not possible, but if the method is not too complex, you can maybe add the required tables as datasource. Otherwise you have to create a view and make your display method a computed column. You then can add the view as datasource and drag the computed column into the form. Then you will be able to filter it.

  • Community Member Profile Picture
    on at

    Hi Jens,

    You said that  "you have to create a view and make your display method a computed column " but problem is that computed column must be static and server  method ,and display can not static ,then what we do??.

    if you have any example then please  provide  .  

  • Suggested answer
    Faqruddin Profile Picture
    1,883 on at

    Check this post

  • Community Member Profile Picture
    on at

    Hi Faqru Shaik ,

    Thanks for your response ,its working .

    But  i want to try that approach.

    Please help .

  • Suggested answer
    Faqruddin Profile Picture
    1,883 on at

    Hi,

    Have a look this example

  • Community Member Profile Picture
    on at

    Yes,

    In this example the method must be statics for computed column . but i m using display method .as per my knowledge  display methods can't be static . so how to apply  on this approach. if it is possible then provide me   solution .

  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    Regarding "method must be statics for computed column" and "as per my knowledge  display methods can't be static":

    That's both correct and it's no contradiction at all.

    You have either a computed column (a static method generating a piece of SQL code inserted into a view) or you have a display method. These are two completely separate things; if you want to use a computed column, what is syntax for some unrelated thing (such as a display method) is irrelevant.

    Either you use a display method and you follow rules for display methods. Or you're making a computed column and you follow rules for computed columns. Don't try to mix them; it doesn't make sense.

  • Dang Vo Profile Picture
    31 on at

    Collect all data to a view and change the data source of form to this view. You can filter like Ctr+G

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