<?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: Displaying sum of revenue for the same quarter weeks in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675434#M142671</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;Can you try this? Please replace the Table[Revenue] and calendar[date] with the appropriate columns that you are using.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SumOfRevenueLast13Weeks = 
CALCULATE(
    SUM(Table[Revenue]),
    DATESINPERIOD(
        Calendar[Date],
        LASTDATE(Calendar[Date]),
        -13, 
        WEEK
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 11:15:57 GMT</pubDate>
    <dc:creator>govindarajan_d</dc:creator>
    <dc:date>2024-02-02T11:15:57Z</dc:date>
    <item>
      <title>Displaying sum of revenue for the same quarter weeks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675400#M142667</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have a an issue I can't figure out.&lt;BR /&gt;Here is a sample of my data:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I need to create a measure, which would look at the last closed 4 quarters, and sum up the total revenue for the previous 13 quarter weeks (I show only 2 here).&lt;BR /&gt;So on 23 Q1 quarter week 5 I had 1 EUR,&lt;BR /&gt;Same quarter week for 23 Q2 I had 2 EUR, so on both rows the total should be 3 EUR as an example.&lt;BR /&gt;How do I do it?&lt;BR /&gt;Appreciate all the advice!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 10:58:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675400#M142667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-02T10:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying sum of revenue for the same quarter weeks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675434#M142671</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;Can you try this? Please replace the Table[Revenue] and calendar[date] with the appropriate columns that you are using.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SumOfRevenueLast13Weeks = 
CALCULATE(
    SUM(Table[Revenue]),
    DATESINPERIOD(
        Calendar[Date],
        LASTDATE(Calendar[Date]),
        -13, 
        WEEK
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 11:15:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675434#M142671</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-02-02T11:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying sum of revenue for the same quarter weeks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675443#M142672</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;Unfortunately typical time intelligence does not work in this file, as it's using custom fical calendar.&lt;BR /&gt;Also, the "Week part" does not appear as an option for me, only YEAR, QUARTER, MONTH, DAY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 11:23:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675443#M142672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-02T11:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying sum of revenue for the same quarter weeks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675477#M142674</link>
      <description>&lt;P&gt;Can you show me your fiscal calendar?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 11:49:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675477#M142674</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-02-02T11:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying sum of revenue for the same quarter weeks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675539#M142682</link>
      <description>&lt;P&gt;Unfortunately I can't share it. But if you can imagine, for year 2023 fiscal quarter week 1 would start on January 1st&lt;BR /&gt;for 2024 fiscal quarter week starts on 31st of December&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 12:29:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675539#M142682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-02T12:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying sum of revenue for the same quarter weeks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675714#M142692</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me an example of how your calendar table will look like and how you want the result to be? This will help me to better answer your question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are Quarter Label and Quarter Week the only columns it has? We can try window function if those are the only two columns available.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 14:01:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Displaying-sum-of-revenue-for-the-same-quarter-weeks/m-p/3675714#M142692</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-02-02T14:01:22Z</dc:date>
    </item>
  </channel>
</rss>

