<?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: Total Sales of Monthly data in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Sales-of-Monthly-data/m-p/3642785#M141033</link>
    <description>&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
var _sum=
CALCULATE(
    SUM('Table'[Sales]),ALL('Table'))
return
SUMX(
    VALUES('Table'),_sum)&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 06:59:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-17T06:59:04Z</dc:date>
    <item>
      <title>Total Sales of Monthly data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Sales-of-Monthly-data/m-p/3641186#M140966</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data is monthly instead of daily values. I want the total sales in each row, but I am just getting the same sales value:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total Sales Value = &lt;/SPAN&gt;&lt;SPAN&gt;calculate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Sales]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Customer]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want is:&lt;/P&gt;&lt;P&gt;Total Sales Value&amp;nbsp; 18, 18, 18.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my database table:&amp;nbsp;&lt;/P&gt;&lt;P&gt;DateSalesCustomer&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;01.01.2020&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;Kevin&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.02.2020&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;Devin&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.03.2020&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;Levin&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ie January, February, March.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works when I am using daily sales values, but unfortunately the sales value for this project is only monthly. What can I do? Should I rebuild my database somehow? Sorry if this is too easy of a question, but I´ve read the documentation and cannot find out what is different with using monthly data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Corey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 14:10:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Sales-of-Monthly-data/m-p/3641186#M140966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-16T14:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales of Monthly data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Sales-of-Monthly-data/m-p/3641352#M140972</link>
      <description>&lt;P&gt;hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try below measure&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total Sales Value = CALCULATE(SUM('Table'[Sales]),ALLEXCEPT('Table','Table'[DateSalesCustomer]))

&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 16 Jan 2024 15:45:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Sales-of-Monthly-data/m-p/3641352#M140972</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2024-01-16T15:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales of Monthly data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Sales-of-Monthly-data/m-p/3642785#M141033</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
var _sum=
CALCULATE(
    SUM('Table'[Sales]),ALL('Table'))
return
SUMX(
    VALUES('Table'),_sum)&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 06:59:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Sales-of-Monthly-data/m-p/3642785#M141033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-17T06:59:04Z</dc:date>
    </item>
  </channel>
</rss>

