<?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 Counting specific outcome from a measure that is in another table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1979556#M43621</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a matrix table that pulls together and aggregates various columns from different tables and in the same matrix table a measure that returns a yes/no for each row within the table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What I would like to do next is create a new measure in a card above that does a count of the measure in the matrix table for all the "Yes" outcomes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Have not been able to crack it or find anything online to help, so hoping someone on here can help? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 13:32:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-26T13:32:39Z</dc:date>
    <item>
      <title>Counting specific outcome from a measure that is in another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1979556#M43621</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a matrix table that pulls together and aggregates various columns from different tables and in the same matrix table a measure that returns a yes/no for each row within the table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What I would like to do next is create a new measure in a card above that does a count of the measure in the matrix table for all the "Yes" outcomes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Have not been able to crack it or find anything online to help, so hoping someone on here can help? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 13:32:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1979556#M43621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-26T13:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Counting specific outcome from a measure that is in another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1980501#M43652</link>
      <description>&lt;P&gt;Please try a measure expression like this for your card, where column1 and column2, etc. are the columns used in your matrix visual.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes&amp;nbsp;Count&amp;nbsp;=&lt;BR /&gt;&lt;SPAN class="Keyword" style="color: #035aca;"&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Keyword" style="color: #035aca;"&gt;FILTER&lt;/SPAN&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent8"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Keyword" style="color: #035aca;"&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;&amp;nbsp;(&lt;/SPAN&gt;&amp;nbsp;Table,&amp;nbsp;Table[Column1],&amp;nbsp;Table[Column2]&amp;nbsp;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;)&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="indent8"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;[Your&amp;nbsp;YesNo&amp;nbsp;Measure]&amp;nbsp;=&amp;nbsp;&lt;SPAN class="StringLiteral" style="color: #d93124;"&gt;"Yes"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="Parenthesis" style="color: #808080;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 23:47:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1980501#M43652</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2021-07-26T23:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Counting specific outcome from a measure that is in another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1983960#M43793</link>
      <description>&lt;P&gt;Thanks for the response&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226208" data-lia-user-login="mahoneypat" class="lia-mention lia-mention-user"&gt;mahoneypat&lt;/a&gt;&amp;nbsp; but I couldn’t get that to work, I just get a BLANK return in the card.&amp;nbsp; I think I might not be filling in the DAX correctly so I've provided more detail on my matrix table below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rows:&lt;/P&gt;&lt;P&gt;Table Core: Name&lt;/P&gt;&lt;P&gt;Table Core: Type&lt;/P&gt;&lt;P&gt;Table Core: Size&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Values&lt;/P&gt;&lt;P&gt;Table 2000: Units&lt;/P&gt;&lt;P&gt;Table 2001: Units&lt;/P&gt;&lt;P&gt;Table 2000: Cost&lt;/P&gt;&lt;P&gt;Table 2001: Cost&lt;/P&gt;&lt;P&gt;Measure 1: Variance&lt;/P&gt;&lt;P&gt;Measure 2: Variance Status ‘Yes/No’&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how would I structure that DAX to count measure 2 for the number of Yes?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 08:08:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1983960#M43793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-28T08:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Counting specific outcome from a measure that is in another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1984542#M43820</link>
      <description>&lt;P&gt;Thanks for the additional info.&amp;nbsp; Still not totally clear on your scenerio but please try this expression&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes&amp;nbsp;Count&amp;nbsp;=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="Keyword"&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN class="Parenthesis"&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Keyword"&gt;FILTER&lt;/SPAN&gt;&lt;SPAN class="Parenthesis"&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent8"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Keyword"&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN class="Parenthesis"&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Core,&amp;nbsp;Core[Name],&amp;nbsp;Core[Type], Core[Size]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Parenthesis"&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent8"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;[Variance Status ‘Yes/No’]&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="StringLiteral"&gt;"Yes"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="indent4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Parenthesis"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="Parenthesis"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pat&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 11:09:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1984542#M43820</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2021-07-28T11:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Counting specific outcome from a measure that is in another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1984771#M43828</link>
      <description>&lt;P&gt;Thanks again , appreciate your patience &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt; however still can't get this working. I've tried to add more information below to help understand what I've got.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m working with 3 tables;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Main which I'm using 3 fields; Name, Type and Size and then the other two tables link to this in a 1-2-1 relationship based on a unique ref number. These other two tables are for previous year and current year and hold quantities and costs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally I have two measures, the first being a variance of the cost for year and year in a percentage format and then the second measure is checking which are out of tolerance by yes/no and it’s a count of this second measure that I want to get and add into a card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then added into my matrix table, aggregated as shown below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Matrix Row&lt;/TD&gt;&lt;TD&gt;Matrix Row&lt;/TD&gt;&lt;TD&gt;Matrix Row&lt;/TD&gt;&lt;TD&gt;Matrix Value&lt;/TD&gt;&lt;TD&gt;Matrix Value&lt;/TD&gt;&lt;TD&gt;Matrix Value&lt;/TD&gt;&lt;TD&gt;Matrix Value&lt;/TD&gt;&lt;TD&gt;Matrix Value&lt;/TD&gt;&lt;TD&gt;Matrix Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;Size&lt;/TD&gt;&lt;TD&gt;2020 Units&lt;/TD&gt;&lt;TD&gt;2021 Units&lt;/TD&gt;&lt;TD&gt;2020 AVG Cost&lt;/TD&gt;&lt;TD&gt;2021 AVG Cost&lt;/TD&gt;&lt;TD&gt;Variance&lt;/TD&gt;&lt;TD&gt;Tolerance Out&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Fitzgernal inc&lt;/TD&gt;&lt;TD&gt;commerical&lt;/TD&gt;&lt;TD&gt;large&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;150&lt;/TD&gt;&lt;TD&gt;98.33&lt;/TD&gt;&lt;TD&gt;105&lt;/TD&gt;&lt;TD&gt;7%&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the expression you have suggested but it just returns (BLANK)&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 12:27:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1984771#M43828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-28T12:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Counting specific outcome from a measure that is in another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1984847#M43831</link>
      <description>&lt;P&gt;Yay sucess! I'm not sure exactly what I did differently but it's working now. Thanks for the help&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226208" data-lia-user-login="mahoneypat" class="lia-mention lia-mention-user"&gt;mahoneypat&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 13:09:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-specific-outcome-from-a-measure-that-is-in-another/m-p/1984847#M43831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-28T13:09:04Z</dc:date>
    </item>
  </channel>
</rss>

