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

Notifications

Announcements

Community site session details

Community site session details

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

Data not getting filtered even after adding fixed field relation

(1) ShareShare
ReportReport
Posted on by 185
Hi, 
We wanted to have a lookup for a field. The lookup is coming fine but when i want to filter it using field fixed relation, its not working. Can you please suggest what can be wrong . Already tried rebuild, build models.
 
I have the same question (0)
  • Mohamed Amine Mahmoudi Profile Picture
    26,546 Super User 2025 Season 2 on at
    Hi,
     
    can you please share with us more details ?
     
    Best regards,
    Mohamed Amin Mahmoudi
  • spidey1010 Profile Picture
    185 on at
    HI Amin,
    So if i add the relation of pricegroup.altPriceGroupId == PriceDiscGroup.GroupId, the lookup comes with all the values . But now i want to filter tha data having module value as cust. I added it in the relation , but its not working. Still I am getting all the values.
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,546 Super User 2025 Season 2 on at
    Hi,
     
    I think you must use a lookup method instead relation in table on your form.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • spidey1010 Profile Picture
    185 on at
    Okay I will, but any reason why the data is not getting filtered?
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,546 Super User 2025 Season 2 on at
    Hi,
     
    the answer is simple the relationship is not a filter since we have the data in the table we can display it !
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • spidey1010 Profile Picture
    185 on at
    Then why it does work for other tables and not here? Am i missing something ?
  • Martin Dráb Profile Picture
    238,069 Most Valuable Professional on at
    The relation isn't the only thing you should take into account. For example, there may be an explicitly implemented lookup() method, overriding the default lookup logic (based on a data entity).
     
    Unfortunately, you told us very little about your particular situation, therefore giving you a specific answer is difficult.
     
  • spidey1010 Profile Picture
    185 on at
    Hi Martin, 
    This field is newly created . It has to show values of field X present in the same table . Like suppose we have X,Y,Z fields in table and I want lookup of Y to show the values of X with Z (modules )having Cust as value. Hope I am able to explain.
  • Layan Jwei Profile Picture
    8,133 Super User 2025 Season 2 on at
    Hi,
     
    Your screenshot shows that you added relation between the same table
    PricrDiscGroup.Field == PriceDiscGroup.GroupId?
     
    Are you sure this is correct? As maybe field fixed doesn't work properly if it's the same table.

    You can try and create a new table and add the same relation just to test and confirm if the issue is because you used the same table or not

    If the same table was the issue, then you can simply override the lookup of the field
  • Layan Jwei Profile Picture
    8,133 Super User 2025 Season 2 on at
    Hi,
     
    Is your question answered? If yes, then please verify the answers that helped 

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

News and Announcements

Season of Giving Solutions is Here!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 679 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 429 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 264 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans