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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

DefaultDimension filters in Dialog "Records to include" section

(1) ShareShare
ReportReport
Posted on by
Hello,
 
I was wondering how I could add dynamic filters in my dialog to allow users to add Dimension value filters ? I need to be able to add custom dimension values and based on their combination I could build DefaultDImension. 
 
I need this to be able to filter out certain records based on what dimensions they have.
 
How could I achieve this ?
 
Thanks.
Categories:
I have the same question (0)
  • Subra Profile Picture
    1,288 on at
    Hi @EI-17060651-0

    Could you please give us an additional information to provide a suggestion on this. Kindly let us know what you are trying to achieve based on that we can give a solution. Dynamics filters can be added by query in D365FO.
     
    Thanks,
    Subra
     
  • Suggested answer
    Martin Dráb Profile Picture
    239,730 Most Valuable Professional on at
    I'm assuming you have a table in Records to include section of a RunBase/SysOperation dialog that has a field with default dimensions and you want to filter by individual dimensions.
     
    Usually, you don't need to do anything, because the necessary filter fields are added automatically.
     
    For example, here is a query with CustTable only.
    Query query = new Query();
    query.addDataSource(tableNum(CustTable));
    new QueryRun(query).prompt();
    But when you run the code, you'll see that the query dialog includes fields like Dimension.CostCentre:
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 564 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

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

#3
Subra Profile Picture

Subra 421

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans