<?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: Dax Help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/1751708#M36508</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;I hope this will be able to help you:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a table that looks like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so in this case, as far as i understood,&amp;nbsp; the count for your case would be 2 (John &amp;amp; Max).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For counting i used this Measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;MathsAndEnglishAbove4 = &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var _filteredTable = FILTER(StudentGrade, (StudentGrade[Subject] = "Mathematics" &amp;amp;&amp;amp; StudentGrade[Grade] &amp;gt;= 4) || (StudentGrade[Subject] = "English" &amp;amp;&amp;amp; StudentGrade[Grade] &amp;gt;= 4))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var _groupedTable = GROUPBY(_filteredTable, Student[StudentID], "count", COUNTX(CURRENTGROUP(), StudentGrade[StudentID]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var _result = COUNTX(FILTER(_groupedTable, [count] &amp;gt;= 2), [count])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;_result&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Markus&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2" color="#999999"&gt;&lt;EM&gt;Did I answer your question? Mark my post as a solution!&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 29 Mar 2021 11:30:26 GMT</pubDate>
    <dc:creator>Markus_Re</dc:creator>
    <dc:date>2021-03-29T11:30:26Z</dc:date>
    <item>
      <title>Dax Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/1746199#M36314</link>
      <description>&lt;P&gt;Good Afternoon&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a combined table in power BI relating to student results in a recent data drop. I have a column of subject names for example English Language, Mathematics etc. i then have a column of grade value which has a value of what was achieved in each subject. I can to a measure that counts the number of results for english above a 4 however I need to do a measure that counts the number of students achieving above a 4 in both english and maths. Can anyone help?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 16:45:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/1746199#M36314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-25T16:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/1749807#M36446</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the question is still open, and if it is OK with you, please share your sample PBIX file. Then I can come up with a more accurate measure to solve the problem.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;FONT face="”times" color="”#000000”"&gt;&lt;EM&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”times" color="”#000000”"&gt;&lt;EM&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Mar 2021 05:58:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/1749807#M36446</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-03-28T05:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/1751708#M36508</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;I hope this will be able to help you:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a table that looks like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so in this case, as far as i understood,&amp;nbsp; the count for your case would be 2 (John &amp;amp; Max).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For counting i used this Measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;MathsAndEnglishAbove4 = &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var _filteredTable = FILTER(StudentGrade, (StudentGrade[Subject] = "Mathematics" &amp;amp;&amp;amp; StudentGrade[Grade] &amp;gt;= 4) || (StudentGrade[Subject] = "English" &amp;amp;&amp;amp; StudentGrade[Grade] &amp;gt;= 4))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var _groupedTable = GROUPBY(_filteredTable, Student[StudentID], "count", COUNTX(CURRENTGROUP(), StudentGrade[StudentID]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var _result = COUNTX(FILTER(_groupedTable, [count] &amp;gt;= 2), [count])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;_result&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Markus&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2" color="#999999"&gt;&lt;EM&gt;Did I answer your question? Mark my post as a solution!&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Mar 2021 11:30:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/1751708#M36508</guid>
      <dc:creator>Markus_Re</dc:creator>
      <dc:date>2021-03-29T11:30:26Z</dc:date>
    </item>
  </channel>
</rss>

