Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

how to get values in look up based on another look up

(0) ShareShare
ReportReport
Posted on by 830

I have entity, country, state and city.

On basis of country i want state to get filter and based on state city look up get filter. 

What is best way to achieve it. 

All i could think of presearch on look up filter. Is there any no code structure or any other way

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: how to get values in look up based on another look up

    Hi Ravi,

    Filtering lookups for 1:N and N:N relationships can be achieved without custom code by updating Related Records Filtering under Field Properties for the desired lookup.

    How to Filter Lookups Without Custom Code in Dynamics 365 Customer Engagement (arbelatech.com) 

    Or you can use addCustomFilter() function to Filter the Lookup:

    addCustomFilter (Client API reference) in model-driven apps - Power Apps | Microsoft Docs

    Solved: Filter lookup field using addCustomFilter control ... - Power Platform Community (microsoft.com)

    Dynamics 365 - Filter lookup with FetchXML (and how to deal with invalid XML format) - Dyn365blog

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,099 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans