<?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: Capitalise first letter of every word from mail address in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Capitalise-first-letter-of-every-word-from-mail-address/m-p/3152799#M112992</link>
    <description>&lt;P&gt;I think you'd need to get a table of all users imported, perhaps from AD, and then do a lookup of the translated name based on USERPRINCIPALNAME&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 14:48:15 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2023-03-24T14:48:15Z</dc:date>
    <item>
      <title>Capitalise first letter of every word from mail address</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Capitalise-first-letter-of-every-word-from-mail-address/m-p/3152511#M112976</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering, does someone know how to do the following:&lt;/P&gt;&lt;P&gt;I have a message on my landing page, welcoming the user by name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, because of certain limitations, the user principal name in our org is the full mail address of a person. Two examples:&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:John.Doe@company.com" target="_blank" rel="noopener"&gt;john.doe@company.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:frits.von.zarovich@company.com" target="_blank" rel="noopener"&gt;frits.von.zarovich@company.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got as far as to have these names be seperated from their domains, and have the "." removed. This results in:&lt;/P&gt;&lt;P&gt;john doe&lt;/P&gt;&lt;P&gt;frits von zarovich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am wondering, is there a way to capitalise the first letters of every surname? I think I could be able to do it for the first letter of the first name, but I would like to be do this for all surnames as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the measure created to get so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;User Principal Name =&lt;BR /&gt;&lt;BR /&gt;Var User =&lt;BR /&gt;&lt;BR /&gt;SUBSTITUTE(&lt;BR /&gt;LEFT ( USERPRINCIPALNAME (), FIND ( "@", USERPRINCIPALNAME () ) - 1 ), ".", " ")&lt;BR /&gt;&lt;BR /&gt;Return&lt;BR /&gt;&lt;BR /&gt;"Hello, " &amp;amp; User&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks for all the possible help!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 12:38:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Capitalise-first-letter-of-every-word-from-mail-address/m-p/3152511#M112976</guid>
      <dc:creator>S-Croes</dc:creator>
      <dc:date>2023-03-24T12:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalise first letter of every word from mail address</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Capitalise-first-letter-of-every-word-from-mail-address/m-p/3152683#M112983</link>
      <description>&lt;P&gt;If you can do it in Power Query then there is a transform option under Format to Capitalise each word.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 13:56:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Capitalise-first-letter-of-every-word-from-mail-address/m-p/3152683#M112983</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-03-24T13:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalise first letter of every word from mail address</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Capitalise-first-letter-of-every-word-from-mail-address/m-p/3152784#M112991</link>
      <description>&lt;P&gt;Do you know how to get that userprincipalname into PQ?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 14:42:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Capitalise-first-letter-of-every-word-from-mail-address/m-p/3152784#M112991</guid>
      <dc:creator>S-Croes</dc:creator>
      <dc:date>2023-03-24T14:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Capitalise first letter of every word from mail address</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Capitalise-first-letter-of-every-word-from-mail-address/m-p/3152799#M112992</link>
      <description>&lt;P&gt;I think you'd need to get a table of all users imported, perhaps from AD, and then do a lookup of the translated name based on USERPRINCIPALNAME&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 14:48:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Capitalise-first-letter-of-every-word-from-mail-address/m-p/3152799#M112992</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-03-24T14:48:15Z</dc:date>
    </item>
  </channel>
</rss>

