<?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: Calculated Column: Count string within column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Count-string-within-column/m-p/2327677#M58339</link>
    <description>&lt;P&gt;Thank you &lt;SPAN&gt;amitchandak, works perfect&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Feb 2022 08:45:49 GMT</pubDate>
    <dc:creator>Abawde1</dc:creator>
    <dc:date>2022-02-09T08:45:49Z</dc:date>
    <item>
      <title>Calculated Column: Count string within column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Count-string-within-column/m-p/2325607#M58212</link>
      <description>&lt;P&gt;I want to be able to count within a table, the number of times a value appears within a column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example i have the data below with 5 employees. And a [Hierarchy Path] string column.&lt;BR /&gt;I want to be able to count the number of times the [Employee] appears within the Column, [Hierarchy path].&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Employee&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Hierarhy Path&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Column String Count&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;EE | AA&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BB&lt;/TD&gt;&lt;TD&gt;EE | AA | BB&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CC&lt;/TD&gt;&lt;TD&gt;EE | AA | CC&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DD&lt;/TD&gt;&lt;TD&gt;EE | AA | DD&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;EE&lt;/TD&gt;&lt;TD&gt;EE&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 08 Feb 2022 12:44:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Count-string-within-column/m-p/2325607#M58212</guid>
      <dc:creator>Abawde1</dc:creator>
      <dc:date>2022-02-08T12:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column: Count string within column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Count-string-within-column/m-p/2325772#M58223</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="357728" data-lia-user-login="Abawde1" class="lia-mention lia-mention-user"&gt;Abawde1&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;a new column&lt;/P&gt;
&lt;P&gt;=&lt;/P&gt;
&lt;P&gt;var _emp = [Employee]&lt;/P&gt;
&lt;P&gt;return&lt;/P&gt;
&lt;P&gt;countx(filter(Table, search(_emp, [Hierarhy Path],,0) &amp;gt;0) , [Employee])&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 14:06:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Count-string-within-column/m-p/2325772#M58223</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-08T14:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column: Count string within column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Count-string-within-column/m-p/2327677#M58339</link>
      <description>&lt;P&gt;Thank you &lt;SPAN&gt;amitchandak, works perfect&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 08:45:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Count-string-within-column/m-p/2327677#M58339</guid>
      <dc:creator>Abawde1</dc:creator>
      <dc:date>2022-02-09T08:45:49Z</dc:date>
    </item>
  </channel>
</rss>

