<?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: DAX Formula Replace letters of the first word in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4307999#M171089</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your answer and the possible solution.&lt;BR /&gt;I am looking for a DAX Code, so that only on step is necessary - and i can learn to handle the DAX better in the future...&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2024 18:43:44 GMT</pubDate>
    <dc:creator>OH_Sport</dc:creator>
    <dc:date>2024-11-29T18:43:44Z</dc:date>
    <item>
      <title>DAX Formula Replace letters of the first word</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4307840#M171084</link>
      <description>&lt;P&gt;Hi Guys,&lt;BR /&gt;&lt;BR /&gt;i am beginnfer of DAX and PowerBI and hope that you can help me&lt;BR /&gt;i have to adjust the name in a data sheet&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Current Name: Max Hartwig&lt;BR /&gt;Target: M. Hartwig.&lt;BR /&gt;Remain first letter, replace all letters of the second word with a "." and remain second word.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I do not get the solution in the DAX in Power BI.&lt;BR /&gt;&lt;BR /&gt;1. create custom column&lt;/P&gt;&lt;P&gt;2. New Columnd name - Player ID&lt;/P&gt;&lt;P&gt;3. Custom column formula&lt;/P&gt;&lt;P&gt;How do i write the dax formula to express the data in the right manner?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 15:37:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4307840#M171084</guid>
      <dc:creator>OH_Sport</dc:creator>
      <dc:date>2024-11-29T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula Replace letters of the first word</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4307988#M171088</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735888" data-lia-user-login="OH_Sport" class="lia-mention lia-mention-user"&gt;OH_Sport&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in Power Query, try like:&lt;/P&gt;
&lt;P&gt;1. split the name column by delimiter, space in your case&lt;/P&gt;
&lt;P&gt;2. extract the first letter of the name.1&lt;/P&gt;
&lt;P&gt;3. merge name1 and name2 with space&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for more info:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/split-columns-delimiter" target="_blank"&gt;https://learn.microsoft.com/en-us/power-query/split-columns-delimiter&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/I-need-to-Extract-first-3-character/td-p/2659241" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/I-need-to-Extract-first-3-character/td-p/2659241&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 18:31:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4307988#M171088</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-11-29T18:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula Replace letters of the first word</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4307999#M171089</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your answer and the possible solution.&lt;BR /&gt;I am looking for a DAX Code, so that only on step is necessary - and i can learn to handle the DAX better in the future...&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 18:43:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4307999#M171089</guid>
      <dc:creator>OH_Sport</dc:creator>
      <dc:date>2024-11-29T18:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula Replace letters of the first word</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4308022#M171091</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735888" data-lia-user-login="OH_Sport" class="lia-mention lia-mention-user"&gt;OH_Sport&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then try like:&lt;/P&gt;
&lt;P&gt;column =&lt;/P&gt;
&lt;P&gt;LEFT([Name], 1)&amp;amp;". "&amp;amp;PATHITEM(SUBSTITUTE([Name], " ", "|"), 2)&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 19:30:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4308022#M171091</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-11-29T19:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula Replace letters of the first word</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4308036#M171094</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;It do not work - what i am doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 19:51:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4308036#M171094</guid>
      <dc:creator>OH_Sport</dc:creator>
      <dc:date>2024-11-29T19:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula Replace letters of the first word</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4308841#M171116</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735888" data-lia-user-login="OH_Sport" class="lia-mention lia-mention-user"&gt;OH_Sport&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i think you might be confused between caculated column with DAX and custom column in Power Query with M.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-calculated-column" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-calculated-column&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/add-custom-column" target="_blank"&gt;https://learn.microsoft.com/en-us/power-query/add-custom-column&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Dec 2024 15:29:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4308841#M171116</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-12-01T15:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula Replace letters of the first word</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4309002#M171119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735888" data-lia-user-login="OH_Sport" class="lia-mention lia-mention-user"&gt;OH_Sport&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you FreemanZ for your interest in this thread and the great replies.&lt;BR /&gt;The solution FreemanZ provided in his reply was to create new columns via DAX.&lt;BR /&gt;If you want to implement this in Power Query with M, you can use the following code:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;= Table.AddColumn(#"Changed Type", "NewName", each Text.Start(Text.BeforeDelimiter([Name], " "), 1) &amp;amp; ". " &amp;amp; Text.AfterDelimiter([Name], " "))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Jarvis Tang&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 01:40:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Replace-letters-of-the-first-word/m-p/4309002#M171119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-02T01:40:12Z</dc:date>
    </item>
  </channel>
</rss>

