<?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 Dax ROWCOUNT with multiple filters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-ROWCOUNT-with-multiple-filters/m-p/2592149#M74692</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a following query that works fine in sql server and i want to avoid importing in PBI as a direct query so i decided to use DAX function to achieve the same. Below is the SQL query that i want to convert it to DAX function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT COUNT(severity) as Count_Informational&lt;BR /&gt;FROM dbo.jamming&lt;BR /&gt;where jamNumber = 'JAM2010077' AND jamVersion = '2.2.2' and Jamtool = 'zinga'&lt;BR /&gt;AND (severity = 'low') AND (status &amp;lt;&amp;gt; 'obsolete')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note: The following values ('JAM2010077', '2.2.2','zinga','low' ,'obsolete') are filtered () via drillthrough , lets say from dashboard A and will be filtered and passed into Dashboard B (will be used in the DAX function), I have no experience with DAX so any help will be appreciated. Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2022 11:56:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-06-21T11:56:47Z</dc:date>
    <item>
      <title>Dax ROWCOUNT with multiple filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-ROWCOUNT-with-multiple-filters/m-p/2592149#M74692</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a following query that works fine in sql server and i want to avoid importing in PBI as a direct query so i decided to use DAX function to achieve the same. Below is the SQL query that i want to convert it to DAX function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT COUNT(severity) as Count_Informational&lt;BR /&gt;FROM dbo.jamming&lt;BR /&gt;where jamNumber = 'JAM2010077' AND jamVersion = '2.2.2' and Jamtool = 'zinga'&lt;BR /&gt;AND (severity = 'low') AND (status &amp;lt;&amp;gt; 'obsolete')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note: The following values ('JAM2010077', '2.2.2','zinga','low' ,'obsolete') are filtered () via drillthrough , lets say from dashboard A and will be filtered and passed into Dashboard B (will be used in the DAX function), I have no experience with DAX so any help will be appreciated. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 11:56:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-ROWCOUNT-with-multiple-filters/m-p/2592149#M74692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-21T11:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dax ROWCOUNT with multiple filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-ROWCOUNT-with-multiple-filters/m-p/2592440#M74707</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;somthing like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MEASURE = 
CALCULATE(
	COUNTROWS('jamming'),
	'jamming'[jamNumber] = "JAM2010077",
	'jamming'[jamVersion] = "2.2.2",
	'jamming'[Jamtool] = "zinga",
	'jamming'[severity] = "low",
	'jamming'[status] &amp;lt;&amp;gt; "obsolete"
)ow') AND (status &amp;lt;&amp;gt; 'obsolete')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="https://www.linkedin.com/company/spartabi" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt; &amp;nbsp;&amp;nbsp;&lt;A href="https://www.facebook.com/SpartaBI" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/Contoso-by-SpartaBI/m-p/2449543" target="_blank" rel="noopener"&gt;&lt;FONT size="4" color="#0000EE"&gt;Showcase Report – Contoso By SpartaBI&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 14:02:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-ROWCOUNT-with-multiple-filters/m-p/2592440#M74707</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-06-21T14:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dax ROWCOUNT with multiple filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-ROWCOUNT-with-multiple-filters/m-p/2599142#M75077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a measure like this :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = CALCULATE(COUNT('Table'[severity]),FILTER('Table','Table'[jamNumber] = "JAM2010077" &amp;amp;&amp;amp; 'Table'[jamVersion] = "2.2.2" &amp;amp;&amp;amp; 'Table'[Jamtool] = "zinga" &amp;amp;&amp;amp; 'Table'[severity] = "low" &amp;amp;&amp;amp; 'Table'[status] &amp;lt;&amp;gt; "obsolete"))&lt;/LI-CODE&gt;
&lt;P&gt;Then add the visual in a card visual , you will get a result like this :&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I have attached my pbix file , you can refer to it .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 02:23:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-ROWCOUNT-with-multiple-filters/m-p/2599142#M75077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-24T02:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dax ROWCOUNT with multiple filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-ROWCOUNT-with-multiple-filters/m-p/2603291#M75317</link>
      <description>&lt;P&gt;Thank you very much !&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 07:59:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-ROWCOUNT-with-multiple-filters/m-p/2603291#M75317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-27T07:59:31Z</dc:date>
    </item>
  </channel>
</rss>

