<?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: New to DAX, need help w/ COUNTROWS w/ a filter using multiple tables. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-to-DAX-need-help-w-COUNTROWS-w-a-filter-using-multiple/m-p/4294817#M170458</link>
    <description>&lt;P&gt;Thanks for the replies from&amp;nbsp;Laxmanjatoth and&amp;nbsp;lbendlin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="851463" data-lia-user-login="rschubs" class="lia-mention lia-mention-user"&gt;rschubs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is recommended that you create relationships between the three table. The RELATED function can then be used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = COUNTROWS(FILTER('BAT Counts',RELATED('ACS BAT'[Condition])="DCS-START"&amp;amp;&amp;amp;'BAT Counts'[Full Name]=RELATED('WFS Metrics'[Full Name]))
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT&gt;The LOOKUPVALUE function can be used without creating a relationship, for example:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;condition = LOOKUPVALUE('ACS BAT'[Condition],'ACS BAT'[Index],'BAT Counts'[Index])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Column = COUNTROWS(FILTER('BAT Counts','BAT Counts'[Full Name]=RELATED('WFS Metrics'[Full Name])&amp;amp;&amp;amp;'BAT Counts'[condition]="DCS-START"))&lt;/LI-CODE&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/I&gt;, then please consider&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/I&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2024 05:11:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-27T05:11:37Z</dc:date>
    <item>
      <title>New to DAX, need help w/ COUNTROWS w/ a filter using multiple tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-to-DAX-need-help-w-COUNTROWS-w-a-filter-using-multiple/m-p/4289080#M170227</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;I am attempting to create a calculated column in the 'WFS Metrics' table with the following formula. My goal is to count the rows in the 'BAT Counts' table where the 'BAT Counts'[Full Name] field matches a name in the 'WFS Metrics'[Full Name] table/field while also making sure that the 'ACS BAT'[Condition] field equals "DCS-START" while none of the three tables have an active relationship. Any help would be appreciated, thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 14:31:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-to-DAX-need-help-w-COUNTROWS-w-a-filter-using-multiple/m-p/4289080#M170227</guid>
      <dc:creator>rschubs</dc:creator>
      <dc:date>2024-11-18T14:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: New to DAX, need help w/ COUNTROWS w/ a filter using multiple tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-to-DAX-need-help-w-COUNTROWS-w-a-filter-using-multiple/m-p/4289684#M170254</link>
      <description>&lt;P&gt;Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?&amp;nbsp; How are these three tables related?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 22:14:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-to-DAX-need-help-w-COUNTROWS-w-a-filter-using-multiple/m-p/4289684#M170254</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-11-18T22:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: New to DAX, need help w/ COUNTROWS w/ a filter using multiple tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-to-DAX-need-help-w-COUNTROWS-w-a-filter-using-multiple/m-p/4291064#M170288</link>
      <description>&lt;P&gt;Matching Count =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('BAT Counts'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'BAT Counts',&lt;BR /&gt;'BAT Counts'[Full Name] = 'WFS Metrics'[Full Name] &amp;amp;&amp;amp;&lt;BR /&gt;'ACS BAT'[Condition] = "DCS-START"&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;let me know if you still help&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Laxman jatoth&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 12:50:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-to-DAX-need-help-w-COUNTROWS-w-a-filter-using-multiple/m-p/4291064#M170288</guid>
      <dc:creator>Laxmanjatoth</dc:creator>
      <dc:date>2024-11-19T12:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: New to DAX, need help w/ COUNTROWS w/ a filter using multiple tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-to-DAX-need-help-w-COUNTROWS-w-a-filter-using-multiple/m-p/4294817#M170458</link>
      <description>&lt;P&gt;Thanks for the replies from&amp;nbsp;Laxmanjatoth and&amp;nbsp;lbendlin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="851463" data-lia-user-login="rschubs" class="lia-mention lia-mention-user"&gt;rschubs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is recommended that you create relationships between the three table. The RELATED function can then be used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = COUNTROWS(FILTER('BAT Counts',RELATED('ACS BAT'[Condition])="DCS-START"&amp;amp;&amp;amp;'BAT Counts'[Full Name]=RELATED('WFS Metrics'[Full Name]))
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT&gt;The LOOKUPVALUE function can be used without creating a relationship, for example:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;condition = LOOKUPVALUE('ACS BAT'[Condition],'ACS BAT'[Index],'BAT Counts'[Index])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Column = COUNTROWS(FILTER('BAT Counts','BAT Counts'[Full Name]=RELATED('WFS Metrics'[Full Name])&amp;amp;&amp;amp;'BAT Counts'[condition]="DCS-START"))&lt;/LI-CODE&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/I&gt;, then please consider&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/I&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 05:11:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-to-DAX-need-help-w-COUNTROWS-w-a-filter-using-multiple/m-p/4294817#M170458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-27T05:11:37Z</dc:date>
    </item>
  </channel>
</rss>

