Hi, I have a line item 'country' based on which my account module is developed. These accounts are mapped to countries. I need to find out the count of accounts from each country. In the sample below, there are 5 US accounts, 2 Canada and so on. How to come up with the count of UNIQUE accounts based on each country? for the below example I want to find out only Account 1, Account 2 and Account 3 for US country . So for US the Accounts count should be 3.
Accounts |
Country |
Account 1 |
US |
Account 2 |
US |
Account 3 |
US |
Account 1 |
US |
Account 1 |
US |
Account 6 |
Canada |
Account 7 |
Canada |
Account 8 |
Mexico |
Account 9 |
Mexico |
Account 10 |
Mexico |