<?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: sum up value based on category in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2414621#M63732</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;you can make a Summary Table like&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Summary Table =
SUMMARIZE(Table,fiscal period,month in quarter,"Sum up sales per month",SUM(Sales))&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 24 Mar 2022 09:49:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-24T09:49:50Z</dc:date>
    <item>
      <title>sum up value based on category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2413956#M63692</link>
      <description>&lt;P&gt;hi guys, please help with the problem statement : the data is categorized by fiscal period but currently i want the DAX to calculate the sum of sales per month on the "sum up sales per month" column, how can i write the DAX for this?&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;</description>
      <pubDate>Thu, 24 Mar 2022 05:05:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2413956#M63692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-24T05:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: sum up value based on category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2413970#M63693</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , A measure like&lt;/P&gt;
&lt;P&gt;Sumx(filter(allselected(Table), Table[Fiscal Period] = max(Table[Fiscal Period])),Table[Sales])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;new column&lt;/P&gt;
&lt;P&gt;Sumx(filter((Table), Table[Fiscal Period] = earlier(Table[Fiscal Period])),Table[Sales])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better to have separate FY Table &lt;BR /&gt;calculate(Sum(Table[Sales]),filter(allselected(FY), FY[Fiscal Period] = max(FY[Fiscal Period])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period, &lt;BR /&gt;Custom Period till date: &lt;A href="https://youtu.be/aU2aKbnHuWs" target="_blank"&gt;https://youtu.be/aU2aKbnHuWs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 05:24:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2413970#M63693</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-24T05:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: sum up value based on category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2414136#M63695</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;You can use&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;sum up sales per month =
SUMX (
    CALCULATETABLE ( Sales, ALLEXCEPT ( Sales, Sales[Fiscal Period] ) ),
    Sales[Sales]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 24 Mar 2022 06:31:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2414136#M63695</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-24T06:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: sum up value based on category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2414621#M63732</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;you can make a Summary Table like&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Summary Table =
SUMMARIZE(Table,fiscal period,month in quarter,"Sum up sales per month",SUM(Sales))&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 24 Mar 2022 09:49:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2414621#M63732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-24T09:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: sum up value based on category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2423180#M64282</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Create a measure like this :&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum up sales per month = CALCULATE(SUM('Table'[Sales]),ALLEXCEPT('Table','Table'[month in quarter]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;You will get a result is as follows :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have attached my pbix file , you can refer to it .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 06:07:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sum-up-value-based-on-category/m-p/2423180#M64282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-29T06:07:13Z</dc:date>
    </item>
  </channel>
</rss>

