<?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: How to keep only the domain name with DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2846480#M91094</link>
    <description>&lt;P&gt;Thank you! This worked. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2022 12:33:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-17T12:33:20Z</dc:date>
    <item>
      <title>How to keep only the domain name with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2831153#M90199</link>
      <description>&lt;P&gt;Hi Community!&lt;BR /&gt;&lt;BR /&gt;I am struggling with an issue that seems to be very straight forward.&amp;nbsp;&lt;BR /&gt;I want to only keep the domain of an e-mail address. As I do not have access to the source, I need it to be a dax measure.&lt;/P&gt;&lt;P&gt;This is what I want to achieve:&lt;BR /&gt;&lt;A href="mailto:John.Doe@powerbi.com" target="_blank" rel="noopener"&gt;John.Doe@powerbi.com&lt;/A&gt;&amp;nbsp;-&amp;gt; powerbi&lt;BR /&gt;&lt;A href="mailto:JaneDoe@computer.com" target="_blank" rel="noopener"&gt;JaneDoe@computer.com&lt;/A&gt;&amp;nbsp;-&amp;gt; computer&lt;BR /&gt;Please note that some e-mail addresses have following format (in case it might be relevant):&lt;BR /&gt;&lt;A href="mailto:John.Doe@us.powerbi.com" target="_blank"&gt;John.Doe@us.powerbi.com&lt;/A&gt;&amp;nbsp;-&amp;gt; us.powerbi&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 13:23:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2831153#M90199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T13:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to keep only the domain name with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2831698#M90234</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Power query text between delimiter @ and . &lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 16:26:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2831698#M90234</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-10-10T16:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to keep only the domain name with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2831709#M90236</link>
      <description>&lt;P&gt;Hi Amitchandak!&lt;BR /&gt;Thank you for your reply - I've tried this but unfortunately it does not work as I get this message:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore, I was thinking of a dax measure...&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 16:39:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2831709#M90236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T16:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to keep only the domain name with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2839238#M90677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can create a &lt;STRONG&gt;measure&lt;/STRONG&gt; as below to get it:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Domain name = 
VAR _selemail =
    SELECTEDVALUE ( 'Table'[e-mail addresses] )
VAR _aposition =
    SEARCH ( "@", _selemail, 1, 0 )
VAR _composition =
    SEARCH ( ".com", _selemail, 1, 0 )
RETURN
    MID ( _selemail, _aposition + 1, _composition - _aposition - 1 )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 09:41:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2839238#M90677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-13T09:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to keep only the domain name with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2846480#M91094</link>
      <description>&lt;P&gt;Thank you! This worked. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 12:33:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-keep-only-the-domain-name-with-DAX/m-p/2846480#M91094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-17T12:33:20Z</dc:date>
    </item>
  </channel>
</rss>

