<?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 Measure that counts a category if the count of the category changes over time in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-a-category-if-the-count-of-the-category/m-p/2710931#M82340</link>
    <description>&lt;P&gt;Below is an example of the matrix that counts the category:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is an example of the output from the measure I need:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;2022.24&lt;/TD&gt;&lt;TD&gt;2022.25&lt;/TD&gt;&lt;TD&gt;2022.26&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCP-06&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCP-08&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Thu, 18 Aug 2022 21:10:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-18T21:10:46Z</dc:date>
    <item>
      <title>Measure that counts a category if the count of the category changes over time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-a-category-if-the-count-of-the-category/m-p/2710931#M82340</link>
      <description>&lt;P&gt;Below is an example of the matrix that counts the category:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is an example of the output from the measure I need:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;2022.24&lt;/TD&gt;&lt;TD&gt;2022.25&lt;/TD&gt;&lt;TD&gt;2022.26&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCP-06&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCP-08&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 18 Aug 2022 21:10:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-a-category-if-the-count-of-the-category/m-p/2710931#M82340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-18T21:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Measure that counts a category if the count of the category changes over time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-a-category-if-the-count-of-the-category/m-p/2711131#M82372</link>
      <description>&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726" target="_blank"&gt;How to Get Your Question Answered Quickly - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 23:44:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-a-category-if-the-count-of-the-category/m-p/2711131#M82372</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-08-18T23:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Measure that counts a category if the count of the category changes over time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-a-category-if-the-count-of-the-category/m-p/2754179#M85075</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&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR _DATE=CALCULATE(MAX('Table'[Date]),FILTER(ALLEXCEPT('Table','Table'[Category]),[Date]&amp;lt;MAX('Table'[Date])))
VAR _VALUE=CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Category]=MAX('Table'[Category])&amp;amp;&amp;amp;[Date]=_DATE))
RETURN IF(MAX('Table'[Date])&amp;lt;&amp;gt;CALCULATE(MIN('Table'[Date]),ALLEXCEPT('Table','Table'[Category]))&amp;amp;&amp;amp; _VALUE&amp;lt;&amp;gt;SUM('Table'[Value]),1,0)&lt;/LI-CODE&gt;
&lt;P&gt;Then add the measure in Matrix visual .&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 02:53:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-a-category-if-the-count-of-the-category/m-p/2754179#M85075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-08T02:53:09Z</dc:date>
    </item>
  </channel>
</rss>

