<?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 with if conditions in Dax (Wildcard match ) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-with-if-conditions-in-Dax-Wildcard-match/m-p/1149244#M17444</link>
    <description>&lt;P&gt;I don't get the same results as you but here's the DAX&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ColumnNew = VAR _searchstring = TableY[Val] &amp;amp; "."
RETURN
   COUNTROWS(FILTER(TableY, SEARCH(_searchstring, TableY[Val],1,0)  )) + 0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of extra count &amp;nbsp; :&amp;nbsp;&amp;nbsp; count of "1." is 3 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but I get 4&amp;nbsp; because&amp;nbsp; 4.1.1&amp;nbsp; contains 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2020 17:17:33 GMT</pubDate>
    <dc:creator>HotChilli</dc:creator>
    <dc:date>2020-06-09T17:17:33Z</dc:date>
    <item>
      <title>Count with if conditions in Dax (Wildcard match )</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-with-if-conditions-in-Dax-Wildcard-match/m-p/1148877#M17433</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please provide me the solution on below condition in Dax.&amp;nbsp; I wanted to apply one excel formula which was writen in excel -&lt;/P&gt;&lt;P&gt;Countif in excel e.g&amp;nbsp;&lt;SPAN&gt;=COUNTIF([Value],[@Value]&amp;amp;".*")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below is the requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 13:10:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-with-if-conditions-in-Dax-Wildcard-match/m-p/1148877#M17433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-09T13:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Count with if conditions in Dax (Wildcard match )</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-with-if-conditions-in-Dax-Wildcard-match/m-p/1149244#M17444</link>
      <description>&lt;P&gt;I don't get the same results as you but here's the DAX&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ColumnNew = VAR _searchstring = TableY[Val] &amp;amp; "."
RETURN
   COUNTROWS(FILTER(TableY, SEARCH(_searchstring, TableY[Val],1,0)  )) + 0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of extra count &amp;nbsp; :&amp;nbsp;&amp;nbsp; count of "1." is 3 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but I get 4&amp;nbsp; because&amp;nbsp; 4.1.1&amp;nbsp; contains 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 17:17:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-with-if-conditions-in-Dax-Wildcard-match/m-p/1149244#M17444</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2020-06-09T17:17:33Z</dc:date>
    </item>
  </channel>
</rss>

