Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Filter Contacts by Filter Company name

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

My company just changed from old Access Database to CRM Dynamics, and I'm totally new with this. Because of transferring data, there is a lot of bugs between accounts and contacts. I want to sort contacts, based on Company name (Accounts), with a certain Country Code and Address: Country/Region. ( like Pic). Somebody please help me out with this. Thanks in advance.

1256.Untitled.png

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Filter Contacts by Filter Company name

    Hi Thy.B,

    if you solved the problem thanks to an answer, please mark it as verified to encourage the community to provide more and more a better support. Thank you. Francesco

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Filter Contacts by Filter Company name

    Hi.

    Let me just add one correction.

    You actually can sort by related attributes, but only in the view itself, and not in the designer. You can add the columns that you need to the view, and within the view (after it is loaded), just click on the column name and it will be sorted.

    When you design the view in the Edit Columns window, you are unable to set the sorting as Francesco specified, but once you are seeing the view, you should be able to do it (See example screenshot):

    listview_5F00_sortrelated.png

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Filter Contacts by Filter Company name

    Hi Thy.B,

    unfortunately you cannot sort by attributes of related records so, if you need to sort by Country Code and/or Country/Region, you need to inherit them from account to contact record (by workflow or plugin).

    Proceed as follows:

    1) Create the same attributes on contact entity

    2) Prepare a workflow (with "on demand" option) which copy these values from account to contact on create and update events

    3) Add the new attributes to your view and sort by them

    4) Run the workflow over all contacts

    5) You are ready to go :)

    Hope it helps!

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    MezMarianne Profile Picture
    MezMarianne 1,267 on at
    RE: Filter Contacts by Filter Company name

    ScreenHunter-527.pngYou can use an advanced find.

    Add columns from the Account to the search result for contact

    ScreenHunter-527.png

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans