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