Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have an exchange inbox imported to my PowerBI report and I want to group the different email domains to reflect the same category.
For example
Recieved emails:
XXXX@123.com
- 3 emails
YXYX@123.com
- 4 emails
XYXY@456.com
- 2 emails
Desired result:
@Anonymous.com
- 7 emails
@456.com
- 2 emails
Is there any way to do this?
Solved! Go to Solution.
However, Does this require more manual input as new email addresses are added? - No, you need not to. You have to define the Column from Example once, and if you are satisfied with the output then any new record will be updated accordingly.
Is there anyway to automate it? I'm thinking something like a statement that trims down and removes characters before the @ character.
Alternatively, you could do this in two steps:
Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
Hello @ARag ,
You may use following steps in Power Query:
Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
Hi @vivran22
Seems to work! However, Does this require more manual input as new email addresses are added?
Is there anyway to automate it? I'm thinking something like a statement that trims down and removes characters before the @ character.
However, Does this require more manual input as new email addresses are added? - No, you need not to. You have to define the Column from Example once, and if you are satisfied with the output then any new record will be updated accordingly.
Is there anyway to automate it? I'm thinking something like a statement that trims down and removes characters before the @ character.
Alternatively, you could do this in two steps:
Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |