<?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: undefined in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3177337#M114747</link>
    <description>&lt;P&gt;Thank you for replying Sir, But&amp;nbsp; I want a calculated column using dax function.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 08:42:12 GMT</pubDate>
    <dc:creator>Akatsuki</dc:creator>
    <dc:date>2023-04-07T08:42:12Z</dc:date>
    <item>
      <title>undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3177194#M114738</link>
      <description>&lt;P&gt;Hello Everyone ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am new to Power BI, can anyone please help ??&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Requirement :- we want to trim the data&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Like :- (1 yr), (11 yr) , (yr) these data should&lt;/P&gt;&lt;P&gt;be removed from the Name column, like below image: -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Note :- sometimes middle name, can also be mentioned in the bracket at the last, like third row, but want to keep the full name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 06:59:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3177194#M114738</guid>
      <dc:creator>Akatsuki</dc:creator>
      <dc:date>2023-04-07T06:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3177238#M114742</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="542822" data-lia-user-login="Akatsuki" class="lia-mention lia-mention-user"&gt;Akatsuki&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Power Query Editor, try to split the name column with the right most (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check more here:&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;</description>
      <pubDate>Fri, 07 Apr 2023 07:35:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3177238#M114742</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-04-07T07:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3177337#M114747</link>
      <description>&lt;P&gt;Thank you for replying Sir, But&amp;nbsp; I want a calculated column using dax function.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 08:42:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3177337#M114747</guid>
      <dc:creator>Akatsuki</dc:creator>
      <dc:date>2023-04-07T08:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3177608#M114761</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="542822" data-lia-user-login="Akatsuki" class="lia-mention lia-mention-user"&gt;Akatsuki&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Expected Name =
VAR String =
    SUBSTITUTE ( 'Table'[Name], " yr", "yr" )
VAR Items =
    SUBSTITUTE ( String, " ", "|" )
VAR Length =
    PATHLENGTH ( Items )
VAR T1 =
    GENERATESERIES ( 1, Length, 1 )
VAR T2 =
    ADDCOLUMNS ( T1, "@Item", [Value] )
VAR T3 =
    FILTER ( T2, NOT CONTAINSSTRING ( [@Item], "yr" ) )
RETURN
    CONCATENATEX ( T3, [@Items], " ", [Value], ASC )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 07:35:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3177608#M114761</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-11T07:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3181185#M115009</link>
      <description>&lt;P&gt;Thank you sir, will try it and let you know&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 07:06:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3181185#M115009</guid>
      <dc:creator>Akatsuki</dc:creator>
      <dc:date>2023-04-11T07:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3181241#M115012</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="542822" data-lia-user-login="Akatsuki" class="lia-mention lia-mention-user"&gt;Akatsuki&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Yes but there is still a small problem. I will update the code in my original reply.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 07:31:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3181241#M115012</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-11T07:31:37Z</dc:date>
    </item>
  </channel>
</rss>

