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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Filter Second Grid Based on First Grid Value

(0) ShareShare
ReportReport
Posted on by 456

Hi,

I have one form which has two grids. First grid contains Itemgroup. Second grid contains Itemid, Productname,

 ProductSubtype etc. FIrst Grid Datasource is InventItemgroup table and second grid main datasource is InventTable. I need to filter the second grid based on the Itemgroup i have selected on first Grid. Since, there is no relation between Inventtable and Inventitemgroup how to set the range for the execute query in Inventtable. Help me on this.

6558.Screenshot_5F00_2.png

Regards,

Ram

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi Ram,

    What is the purpose of that form? Are you planning only to view it?

    You can use view InventTableExpanded instead of inventTable, but views are read-only by default, otherwise you need to add also InventItemGroupItem to your form and use it as link between InventItemGroup and InventTable.

  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Hi,

    You already asked this in another discussion: community.dynamics.com/.../how-to-get-the-active-record-from-a-grid-to-another-grid

    Please go through the replies provided there - we have covered both possible approaches: data source relations (when data source tables are directly related) and x++ filtering (when no direct relation).

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 733

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 278 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans