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

Notifications

Announcements

No record found.

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 836

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

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans