<?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 multiple specific numbers of values in a row in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-multiple-specific-numbers-of-values-in-a-row/m-p/1354490#M24438</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this as a Calculated Column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New Column =
SWITCH (
    TRUE (),
    Table[Budget]
        || Table[Fortschritt]
        || Table[Risiken]
        || Table[Ressourcen]
        || Table[Termin] = 3, "Yes",
    Table[Budget] + Table[Fortschritt] + Table[Risiken] + Table[Ressourcen] + Table[Termin] &amp;gt;= 8, "Yes",
    "No"
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2020 10:26:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-08T10:26:51Z</dc:date>
    <item>
      <title>Count multiple specific numbers of values in a row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-multiple-specific-numbers-of-values-in-a-row/m-p/1354370#M24431</link>
      <description>&lt;P&gt;Hey guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm quit new in DAX and i'm working on a report which I have no idea how to solve. Its the following problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I need?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have an extra colum with the following rule:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes: If the colums Budget, Fortschritt, Risiken, Ressourcen and Termin contain one or more of the number "3" AND three or more of the number 2. So if either of them applies, it should give out a "yes"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No: if the rule above does not apply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rows which are marked yellow in the example should have a yes, and the last one should have a now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 09:41:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-multiple-specific-numbers-of-values-in-a-row/m-p/1354370#M24431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-08T09:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count multiple specific numbers of values in a row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-multiple-specific-numbers-of-values-in-a-row/m-p/1354490#M24438</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this as a Calculated Column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New Column =
SWITCH (
    TRUE (),
    Table[Budget]
        || Table[Fortschritt]
        || Table[Risiken]
        || Table[Ressourcen]
        || Table[Termin] = 3, "Yes",
    Table[Budget] + Table[Fortschritt] + Table[Risiken] + Table[Ressourcen] + Table[Termin] &amp;gt;= 8, "Yes",
    "No"
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 10:26:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-multiple-specific-numbers-of-values-in-a-row/m-p/1354490#M24438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-08T10:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count multiple specific numbers of values in a row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-multiple-specific-numbers-of-values-in-a-row/m-p/1354497#M24439</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; ,&lt;/P&gt;
&lt;P&gt;Try a new column like&lt;/P&gt;
&lt;P&gt;switch ( True(),&lt;BR /&gt;[Budget] &amp;gt;=3 || [Fortschritt]&amp;gt;=3 || [Risiken]&amp;gt;=3 || [Ressourcen]&amp;gt;=3 || [Termin]&amp;gt;=3 , "Yes",&lt;BR /&gt;if([Budget]=2,1,0) + if([Fortschritt]=2,1,0) + if([Risiken]=2,1,0) + if([Ressourcen]=2,1,0) + if([Termin]=2,1,0) &amp;gt;=3, "Yes",&lt;BR /&gt;"No"&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 10:29:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-multiple-specific-numbers-of-values-in-a-row/m-p/1354497#M24439</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-08T10:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count multiple specific numbers of values in a row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-multiple-specific-numbers-of-values-in-a-row/m-p/1354643#M24444</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; for the quick answer. I tested it and it works perfectly!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 11:38:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-multiple-specific-numbers-of-values-in-a-row/m-p/1354643#M24444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-08T11:38:05Z</dc:date>
    </item>
  </channel>
</rss>

