Team,
I am having a mental block on the most basic of task and i feel silly asking this questions
AIM : To find the total number of "Email domains" against a given ID
Example data,
| Id | Email Domain |
| 0033a00002UsNUwAAN | blueprintmedicines.com |
| 0033a00002UsNUwAAN | blueprintrg.com |
| 003f1000022P0nJAAS | healthadvances.com |
| 001f100001OisCLAAZ | 10XGENOMICS.COM |
| 001f100001OisCLAAZ | 10xgenomics.com |
| 001f100001OisCLAAZ | 10xtechnologies.com |
| 001f100001OisCLAAZ | 10xgenomics.com |
| 001f100001OisCLAAZ | its.jnj.com |
Expected outcome
| Id | Email Domain | Count |
| 0033a00002UsNUwAAN | blueprintmedicines.com | 1 |
| 0033a00002UsNUwAAN | blueprintrg.com | 1 |
| 003f1000022P0nJAAS | healthadvances.com | 1 |
| 001f100001OisCLAAZ | 10xgenomics.com | 3 |
| 001f100001OisCLAAZ | 10xtechnologies.com | 1 |
| 001f100001OisCLAAZ | its.jnj.com | 1 |
NB : I will apply a data cleanse on the email domain to make all text either Upper or Lower case, to help with the count
Regards
Masond3