Skip to main content

Notifications

Announcements

No record found.

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 145
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.
 
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    Data not getting filtered even after adding fixed field relation
    For some reason the field fixed is not working on same table. Recently we tried for one of our requirement.

    In this case only way is to with lookup method or event.
  • Layan Jwei Profile Picture
    7,824 Super User 2025 Season 1 on at
    Data not getting filtered even after adding fixed field relation
    Hi,
     
    Is your question answered? If yes, then please verify the answers that helped 
  • Layan Jwei Profile Picture
    7,824 Super User 2025 Season 1 on at
    Data not getting filtered even after adding fixed field relation
    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
  • spidey1010 Profile Picture
    145 on at
    Data not getting filtered even after adding fixed field relation
    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.
  • Martin Dráb Profile Picture
    233,441 Most Valuable Professional on at
    Data not getting filtered even after adding fixed field relation
    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
    145 on at
    Data not getting filtered even after adding fixed field relation
    Then why it does work for other tables and not here? Am i missing something ?
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    22,998 Super User 2025 Season 1 on at
    Data not getting filtered even after adding fixed field relation
    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
    145 on at
    Data not getting filtered even after adding fixed field relation
    Okay I will, but any reason why the data is not getting filtered?
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    22,998 Super User 2025 Season 1 on at
    Data not getting filtered even after adding fixed field relation
    Hi,
     
    I think you must use a lookup method instead relation in table on your form.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • spidey1010 Profile Picture
    145 on at
    Data not getting filtered even after adding fixed field relation
    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.

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

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
Martin Dráb Profile Picture

Martin Dráb 275 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 270

#3
Adis Profile Picture

Adis 174 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans