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 Lookup Based on Another lookup Value selection , help !!

(0) ShareShare
ReportReport
Posted on by 2

pastedimage1674477606296v1.png

here category is child under subsegment,  but in category lookup, values where subsegment is ABC only should show up , as ABC is selected for subsegment Id above it , but category is also showing (AbCD , sub3) subsegment fields data ( thats should not come here ). relations are also properly defined

Thank you !!

I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,833 Moderator on at

    Hi sachin mittal,

    You need to override the lookup event handler to filter values. Based on the selection of Subsegment you can filter category lookup.

    Copy the lookup event handler of category control and paste it in the new class. Add code for lookup and also add range to it.

    Refer to the below blog which might help you.

    https://community.dynamics.com/365/financeandoperations/b/dynamics-365-fin-ops-technical-help/posts/applying-range-on-the-lookup-based-on-the-selection-of-value-on-other-field-x

    Thanks,

    Girish S.

  • Sachin Mittal Profile Picture
    2 on at

    can it be done without using event handler ??

  • GirishS Profile Picture
    27,833 Moderator on at

    No, you need to override an lookup event handler method to achieve this.

    Thanks,

    Girish S.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 390

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans