<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Group email adresses by domain in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Group-email-adresses-by-domain/m-p/1043894#M14040</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="225163" data-lia-user-login="ARag" class="lia-mention lia-mention-user"&gt;ARag&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, Does this require more manual input as new email addresses are added?&amp;nbsp; - 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyway to automate it? I'm thinking something like a statement that trims down and removes characters before the&amp;nbsp;@ character.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alternatively, you could do this in two steps:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Add Column &amp;gt; Extract &amp;gt; Text After Delimiter (Use&amp;nbsp;@ as delimiter) - This will separate the domain in an additional column&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Transform &amp;gt; Format &amp;gt; Add Prefix (Use&amp;nbsp;@ )&amp;nbsp; - This will format the column as&amp;nbsp;@abc.com&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers!&lt;BR /&gt;Vivek&lt;BR /&gt;&lt;BR /&gt;If it helps, please mark it as a solution&lt;BR /&gt;Kudos would be a cherry on the top &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.vivran.in/" target="_blank"&gt;https://www.vivran.in/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/vivek-ranjan-063a1a17b/" target="_blank"&gt;Connect on LinkedIn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2020 09:36:16 GMT</pubDate>
    <dc:creator>vivran22</dc:creator>
    <dc:date>2020-04-23T09:36:16Z</dc:date>
    <item>
      <title>Group email adresses by domain</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Group-email-adresses-by-domain/m-p/1043777#M14037</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an exchange inbox imported to my PowerBI report and I want to group the different email domains to reflect the same category.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Recieved emails:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;XXXX@123.com&lt;/P&gt;&lt;P&gt;- 3 emails&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;YXYX@123.com&lt;/P&gt;&lt;P&gt;- 4 emails&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;XYXY@456.com&amp;nbsp;&lt;/P&gt;&lt;P&gt;- 2 emails&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desired result:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anonymous&lt;/a&gt;.com&lt;/P&gt;&lt;P&gt;- 7 emails&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@456.com&lt;/P&gt;&lt;P&gt;- 2 emails&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 09:06:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Group-email-adresses-by-domain/m-p/1043777#M14037</guid>
      <dc:creator>ARag</dc:creator>
      <dc:date>2020-04-23T09:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Group email adresses by domain</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Group-email-adresses-by-domain/m-p/1043848#M14038</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="225163" data-lia-user-login="ARag" class="lia-mention lia-mention-user"&gt;ARag&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may use following steps in Power Query:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Extract the domain name with the help of Add Columns &amp;gt; Column from Example&lt;/LI&gt;&lt;LI&gt;Then use Group By feature to get the count&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Cheers!&lt;BR /&gt;Vivek&lt;BR /&gt;&lt;BR /&gt;If it helps, please mark it as a solution&lt;BR /&gt;Kudos would be a cherry on the top &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.vivran.in/" target="_blank"&gt;https://www.vivran.in/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/vivek-ranjan-063a1a17b/" target="_blank"&gt;Connect on LinkedIn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 09:21:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Group-email-adresses-by-domain/m-p/1043848#M14038</guid>
      <dc:creator>vivran22</dc:creator>
      <dc:date>2020-04-23T09:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Group email adresses by domain</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Group-email-adresses-by-domain/m-p/1043869#M14039</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="141768" data-lia-user-login="vivran22" class="lia-mention lia-mention-user"&gt;vivran22&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems to work! However, Does this require more manual input as new email addresses are added?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there anyway to automate it? I'm thinking something like a statement that trims down and removes characters before the&amp;nbsp;@ character.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 09:29:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Group-email-adresses-by-domain/m-p/1043869#M14039</guid>
      <dc:creator>ARag</dc:creator>
      <dc:date>2020-04-23T09:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Group email adresses by domain</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Group-email-adresses-by-domain/m-p/1043894#M14040</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="225163" data-lia-user-login="ARag" class="lia-mention lia-mention-user"&gt;ARag&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, Does this require more manual input as new email addresses are added?&amp;nbsp; - 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyway to automate it? I'm thinking something like a statement that trims down and removes characters before the&amp;nbsp;@ character.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alternatively, you could do this in two steps:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Add Column &amp;gt; Extract &amp;gt; Text After Delimiter (Use&amp;nbsp;@ as delimiter) - This will separate the domain in an additional column&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Transform &amp;gt; Format &amp;gt; Add Prefix (Use&amp;nbsp;@ )&amp;nbsp; - This will format the column as&amp;nbsp;@abc.com&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers!&lt;BR /&gt;Vivek&lt;BR /&gt;&lt;BR /&gt;If it helps, please mark it as a solution&lt;BR /&gt;Kudos would be a cherry on the top &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.vivran.in/" target="_blank"&gt;https://www.vivran.in/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/vivek-ranjan-063a1a17b/" target="_blank"&gt;Connect on LinkedIn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 09:36:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Group-email-adresses-by-domain/m-p/1043894#M14040</guid>
      <dc:creator>vivran22</dc:creator>
      <dc:date>2020-04-23T09:36:16Z</dc:date>
    </item>
  </channel>
</rss>

