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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Limit lookup field to order products of the order connected to a case

(1) ShareShare
ReportReport
Posted on by 54
In out Dynamics environment we have a N:1 relationship from cases to order. We also have a field for products on each case, but because of the chance of typos and other issues I want the lookup field for products to be limited to the order products of the connected order. Is there a way I can add a filter on this field? I've been trying to do it in Javascript, which I'll include in a screenshot below, but the products field still doesn't filter out anything. Thanks!
 
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    Maybe you can try to configure 'Filter by related rows' property of the lookup.
    --Filter by related rows: When this is enabled, you can filter this lookup based on a row related to both the current table and this lookup. 
    Please refer to the following links for examples:
    https://softchief.com/2022/10/21/filter-lookup-values-by-another-lookup-value-in-dynamics-365-or-dataverse-power-apps-form/
    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 103 Most Valuable Professional

#2
11manish Profile Picture

11manish 69 Super User 2026 Season 2

#3
Travis South Profile Picture

Travis South 50

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans