Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Two Options Field returns Yes, No and blank in advance finds

Posted on by Microsoft Employee

We have a Two Option field on our Opportunity forms. When that field is included in advanced finds, it returns three results: yes, no, blank. How can I get it to return just yes/no? 

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Two Options Field returns Yes, No and blank in advance finds

    that explains it! thanks...

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Two Options Field returns Yes, No and blank in advance finds

    Hello Robert,

    Seems this is data issue , As you are in on premise just go to the table and update all null to some default value.

    Also I am not sure what kind of customization you have for the entity , it's not expected value. Two options always contains 0 or 1.

    Hope this helps.

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Two Options Field returns Yes, No and blank in advance finds

    Hello,

    Create on-demand workflow that will set that field to "No" value.

    Create advanced find where that Two Option field "Doesn't contain value", on results retrieved run on-demand workflow.

    That's it.

    Explanation is pretty simple - it seems that you created that "Two Option" field after some data was created. So for those records data was not populated and when you added field - for existing records value for a field was null (even you set 'default' value for it).

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans