<?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 How do I calculate how many different products a store has sold in a month? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-calculate-how-many-different-products-a-store-has-sold/m-p/2989137#M100504</link>
    <description>&lt;P&gt;Hi! I'm having trouble calculating how many different products a store has bought in a month. I'm currently using the following formula as in an example for august:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE(
(DISTINCTCOUNT(Product[Product Code),
FILTER([Product], [#Sales]&amp;gt;0),
Date[Month/Year]="aug/2022")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;It returns me how many different products the store has sold, but it is not considering in august. The number is always the same for every month i pick.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Dec 2022 18:12:51 GMT</pubDate>
    <dc:creator>felipescamilo</dc:creator>
    <dc:date>2022-12-26T18:12:51Z</dc:date>
    <item>
      <title>How do I calculate how many different products a store has sold in a month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-calculate-how-many-different-products-a-store-has-sold/m-p/2989137#M100504</link>
      <description>&lt;P&gt;Hi! I'm having trouble calculating how many different products a store has bought in a month. I'm currently using the following formula as in an example for august:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE(
(DISTINCTCOUNT(Product[Product Code),
FILTER([Product], [#Sales]&amp;gt;0),
Date[Month/Year]="aug/2022")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;It returns me how many different products the store has sold, but it is not considering in august. The number is always the same for every month i pick.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 18:12:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-calculate-how-many-different-products-a-store-has-sold/m-p/2989137#M100504</guid>
      <dc:creator>felipescamilo</dc:creator>
      <dc:date>2022-12-26T18:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate how many different products a store has sold in a month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-calculate-how-many-different-products-a-store-has-sold/m-p/2989141#M100505</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="488201" data-lia-user-login="felipescamilo" class="lia-mention lia-mention-user"&gt;felipescamilo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;=&lt;BR /&gt;COUNTROWS (&lt;BR /&gt;CALCULATETABLE (&lt;BR /&gt;VALUES ( 'Product'[Product Code] ),&lt;BR /&gt;CROSSFILTER ( 'Product'[Product Code], 'Sales'[Product Code], BOTH )&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 18:23:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-calculate-how-many-different-products-a-store-has-sold/m-p/2989141#M100505</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-12-26T18:23:15Z</dc:date>
    </item>
  </channel>
</rss>

