<?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: Calculating the total amount of sales without counting repeated order values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3016362#M102442</link>
    <description>&lt;P&gt;Sounds good, however I have many different months and years, so it may take so much time to include every month. Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 09:46:27 GMT</pubDate>
    <dc:creator>Luzadriana255</dc:creator>
    <dc:date>2023-01-12T09:46:27Z</dc:date>
    <item>
      <title>Calculating the total amount of sales without counting repeated order values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014272#M102308</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am trying to build a matrix of the total sales of different products as a function of time. In my excel list there are orders that appear more than once and I want to count the price of those orders only once. For example for toys in June I want to add only once 200 because it comes from the same order "Order 1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data look like the one in the following table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product code&lt;/TD&gt;&lt;TD&gt;Order&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Date&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Toys&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;06.06.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Toys&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;06.06.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Toys&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;12.06.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;135&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clothes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;09.06.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clothes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;23.06.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;135&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clothes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;23.06.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;135&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Toys&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;5&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;03.07.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Toys&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;5&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;03.07.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Toys&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;7&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;22.07.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Toys&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;8&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;03.07.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clothes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;6&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;09.07.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clothes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;9&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;12.07.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clothes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 10&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;12.07.2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;25&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to develop a Dashboard&amp;nbsp; matrix like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product/time&lt;/TD&gt;&lt;TD&gt;June&lt;/TD&gt;&lt;TD&gt;July&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Toys&lt;/TD&gt;&lt;TD&gt;335&lt;/TD&gt;&lt;TD&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clothes&lt;/TD&gt;&lt;TD&gt;295&lt;/TD&gt;&lt;TD&gt;425&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;However I am not sure what formula to use for this. Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 15:34:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014272#M102308</guid>
      <dc:creator>Luzadriana255</dc:creator>
      <dc:date>2023-01-11T15:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the total amount of sales without counting repeated order values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014307#M102311</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&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;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expected result measure: =
SUMX (
    SUMMARIZE (
        Data,
        'Product'[Product code],
        'Calendar'[Date],
        Data[Order],
        Data[Sales]
    ),
    Data[Sales]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 15:42:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014307#M102311</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-01-11T15:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the total amount of sales without counting repeated order values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014345#M102319</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="485918" data-lia-user-login="Luzadriana255" class="lia-mention lia-mention-user"&gt;Luzadriana255&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also consider using the Remove Duplicates in Power Query, if you're not using that info in other visuals.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Select the Order, Date and Sales columns&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Go to Home &amp;gt; Remove Row &amp;gt; Remove Duplicates&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jewel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 15:51:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014345#M102319</guid>
      <dc:creator>jewel_at</dc:creator>
      <dc:date>2023-01-11T15:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the total amount of sales without counting repeated order values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014446#M102333</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="485918" data-lia-user-login="Luzadriana255" class="lia-mention lia-mention-user"&gt;Luzadriana255&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you may also try to plot a table visual with two measures like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;JUN = 
VAR _table = DISTINCT(TableName)
RETURN
SUMX(
    FILTER(_table, MONTH(TableName[Date]) =6),
    TableName[Sales] 
)

JUL = 
VAR _table = DISTINCT(TableName)
RETURN
SUMX(
    FILTER(_table, MONTH(TableName[Date]) =7),
    TableName[Sales] 
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it worked like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 16:25:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014446#M102333</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-11T16:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the total amount of sales without counting repeated order values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014445#M102332</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 16:25:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014445#M102332</guid>
      <dc:creator>Luzadriana255</dc:creator>
      <dc:date>2023-01-11T16:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the total amount of sales without counting repeated order values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014448#M102334</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 16:26:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3014448#M102334</guid>
      <dc:creator>Luzadriana255</dc:creator>
      <dc:date>2023-01-11T16:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the total amount of sales without counting repeated order values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3016362#M102442</link>
      <description>&lt;P&gt;Sounds good, however I have many different months and years, so it may take so much time to include every month. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 09:46:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-total-amount-of-sales-without-counting-repeated/m-p/3016362#M102442</guid>
      <dc:creator>Luzadriana255</dc:creator>
      <dc:date>2023-01-12T09:46:27Z</dc:date>
    </item>
  </channel>
</rss>

