Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Advanced filtering doesn't work when criteria is set on the joined table

(0) ShareShare
ReportReport
Posted on by

Hi Have any of you observed the situation that on the Header/Line form (Free text invoice for example), even though you can join the line table (CustInvoiceLine) in the Advanced filter but when you specify the query criteria on the line lever (amount < 50 on CustInvoiceLine for example), the filtering doesn't work, it would still show all of the free text invoices.

So my questions are:

(1) How to make the Advanced filtering work when query criteria set on the joined table only?

(2) How to debug this to find out what is exactly query being run when running Advanced filtering?

Thank you!

  • Community Member Profile Picture
    on at
    RE: Advanced filtering doesn't work when criteria is set on the joined table

    That's the document I was following but got that error.  I've opened a MS ticket so they can take a look.

  • Mea_ Profile Picture
    60,278 on at
    RE: Advanced filtering doesn't work when criteria is set on the joined table

    Sure, here you go docs.microsoft.com/.../trace-trace-tutorial

  • Community Member Profile Picture
    on at
    RE: Advanced filtering doesn't work when criteria is set on the joined table

    Is there a proper documentation for using Tracer Parser for D365 F&O?  It's very straightforward in AX2012 but in F&O when I opened the Tracer Parser tool to open the trace I collected it gave me error ""This trace doesn't contain a session which can be analyzed.".

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    294,770 Super User 2025 Season 1 on at
    RE: Advanced filtering doesn't work when criteria is set on the joined table

    Hi Yvonne,

    If you have a form with multiple data sources, you have to filter per data source. If you open the advanced filter for the header and you include new table joins, it will only filter the header records with your query. So it will then show e.g. all free text invoices containing lines with an amount < 50. But for those invoices it will show all lines. If you only want to see certain lines, you have to apply a filter starting on the lines data source.

  • Mea_ Profile Picture
    60,278 on at
    RE: Advanced filtering doesn't work when criteria is set on the joined table

    I cannot say anything on 1 but for 2 you can run trace parser and see what query is generated and from where. 

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
Martin Dráb Profile Picture

Martin Dráb 353 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 276

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 190 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans