<?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: Count ID's from text in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-ID-s-from-text/m-p/2449285#M65862</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="377375" data-lia-user-login="andrius_pfa" class="lia-mention lia-mention-user"&gt;andrius_pfa&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;you can use this formula for creating this column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_A count = 
VAR Search_string = "_A"
RETURN
DIVIDE(
    LEN('Table'[Value]) - LEN(SUBSTITUTE('Table'[Value],Search_string,BLANK())),
    LEN(Search_string),
    0
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2022 10:37:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-11T10:37:03Z</dc:date>
    <item>
      <title>Count ID's from text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-ID-s-from-text/m-p/2448597#M65835</link>
      <description>&lt;P&gt;Hello, Im new to Power Bi , and I need help. I want to create column and count how many ID's begins with _A.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ing-WoX8/1/1_A1385556-Xdu Trou6_A1407390-Maon - 2&lt;BR /&gt;S5/1/1_A1385448-VALENANI - 1&lt;BR /&gt;tton Bld-1KN/5_A1400101-FONth/2/1_A1428673-GIANSSI_A153748 - 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 07:05:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-ID-s-from-text/m-p/2448597#M65835</guid>
      <dc:creator>andrius_pfa</dc:creator>
      <dc:date>2022-04-11T07:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count ID's from text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-ID-s-from-text/m-p/2449285#M65862</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="377375" data-lia-user-login="andrius_pfa" class="lia-mention lia-mention-user"&gt;andrius_pfa&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;you can use this formula for creating this column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_A count = 
VAR Search_string = "_A"
RETURN
DIVIDE(
    LEN('Table'[Value]) - LEN(SUBSTITUTE('Table'[Value],Search_string,BLANK())),
    LEN(Search_string),
    0
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 10:37:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-ID-s-from-text/m-p/2449285#M65862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-11T10:37:03Z</dc:date>
    </item>
  </channel>
</rss>

