Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

filtration based on requirments

(0) ShareShare
ReportReport
Posted on by 37
hii,
i want to Filter lookup position based that it's vacant and end date is from date to max 1 month (contract) 
 
tables are Position and contract with these column respectively:
Start date,Department(lookup),Parent position(lookup on itself),employee(lookup),Vacant(Yes/No).
employee(lookup),position(lookup),Start date,end date,Department.
can someone help?
 
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    filtration based on requirments
    Hi Partner,
    The calculated field should on the contract(child) entity, Right?
    If so, you can use date field from position(parent) entity, like this:
    1)Insert function:
    2) Find position lookup:
    3)insert .    then you can select field of position entity:
  • Ralph_Marouni21 Profile Picture
    37 on at
    filtration based on requirments
    @Leah ju even if the start date in a table and the end date in another table?
  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    filtration based on requirments
    Hi partner,
    Yes, we can't achieve it directly through these two date fields in advanced find query.
    It doesn't have to be in code to do this, Maybe you can create one calculated field to calculate difference between two dates:
    Then you can use the calculated field as the filter in Advanced find query.
    I hope you can verify my answer if it helps you! If you have any questions, please feel free to contact me.
    Regards,
    Leah
  • Ralph_Marouni21 Profile Picture
    37 on at
    filtration based on requirments
    @LeahJu yes i want to filter date from start to finish not more than 1 month but i think we can't do it unless in codding 
     
  • Ralph_Marouni21 Profile Picture
    37 on at
    filtration based on requirments
    @CharbelHl. test
  • Ralph_Marouni21 Profile Picture
    37 on at
    filtration based on requirments
    @User test
  • CharbelHl. Profile Picture
    2 on at
    filtration based on requirments
    test @User
  • Leah Ju Profile Picture
    Microsoft Employee on at
    filtration based on requirments
    Hi Partner,
    Yes, you can filter parent records(position) based on child records(contract) in Advanced Find.
    Add row for vacant field, and add related entity for contract entity, then you can select field of contract.
    And i don't understand you said: and end date is from date to max 1 month (contract) 
    Can you explain? Does it mean the start to finish time is not more than 1 month?
    I hope you can verify my answer if it helps you! 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

🌸 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,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,996 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans