<?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: Counting rows with multiple values in a column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-values-in-a-column/m-p/1494946#M28821</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="188668" data-lia-user-login="freevission2019" class="lia-mention lia-mention-user"&gt;freevission2019&lt;/a&gt; , one of the two ways &lt;/P&gt;
&lt;P&gt;YY4 No of SectionHeads = CALCULATE(COUNTROWS('HR'),'HR'[Class]="Supervisor",filter('HR-COA'[Grade], 'HR-COA'[Grade] in{"49","50","51","52"}))&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;YY4 No of SectionHeads = CALCULATE(COUNTROWS('HR'),'HR'[Class]="Supervisor",filter('HR-COA'[Grade] , 'HR-COA'[Grade]="49" || 'HR-COA'[Grade]= "50" &lt;BR /&gt;'HR-COA'[Grade] = "51" 'HR-COA'[Grade] ="52"))&lt;/P&gt;</description>
    <pubDate>Mon, 16 Nov 2020 01:18:43 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-11-16T01:18:43Z</dc:date>
    <item>
      <title>Counting rows with multiple values in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-values-in-a-column/m-p/1493842#M28779</link>
      <description>&lt;P&gt;Hi, I am working on data for HR and I want to calculate the No. of section heads. two columns determine this classification. the&amp;nbsp; class = "Supervisor" and the other column is grade&amp;nbsp; = can be 49, 50,51, or 52.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i wrote this formula but id does not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YY4 No of SectionHeads = CALCULATE(COUNTROWS('HR'),'HR'[Class]="Supervisor",'HR-COA'[Grade]="49||50||51||52").&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I appreciate if one can help.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanx&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 14 Nov 2020 05:18:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-values-in-a-column/m-p/1493842#M28779</guid>
      <dc:creator>freevission2019</dc:creator>
      <dc:date>2020-11-14T05:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple values in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-values-in-a-column/m-p/1493860#M28781</link>
      <description>&lt;P&gt;&lt;SPAN&gt;'HR-COA'[Grade] in {49,50,51,52}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Nov 2020 07:37:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-values-in-a-column/m-p/1493860#M28781</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2020-11-14T07:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows with multiple values in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-values-in-a-column/m-p/1494946#M28821</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="188668" data-lia-user-login="freevission2019" class="lia-mention lia-mention-user"&gt;freevission2019&lt;/a&gt; , one of the two ways &lt;/P&gt;
&lt;P&gt;YY4 No of SectionHeads = CALCULATE(COUNTROWS('HR'),'HR'[Class]="Supervisor",filter('HR-COA'[Grade], 'HR-COA'[Grade] in{"49","50","51","52"}))&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;YY4 No of SectionHeads = CALCULATE(COUNTROWS('HR'),'HR'[Class]="Supervisor",filter('HR-COA'[Grade] , 'HR-COA'[Grade]="49" || 'HR-COA'[Grade]= "50" &lt;BR /&gt;'HR-COA'[Grade] = "51" 'HR-COA'[Grade] ="52"))&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 01:18:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-rows-with-multiple-values-in-a-column/m-p/1494946#M28821</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-16T01:18:43Z</dc:date>
    </item>
  </channel>
</rss>

