<?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: YTD using week numbers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-using-week-numbers/m-p/2684996#M80567</link>
    <description>&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/week-based-time-intelligence-in-dax/" target="_blank"&gt;Week-Based Time Intelligence in DAX - SQLBI&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Aug 2022 00:31:56 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-08-06T00:31:56Z</dc:date>
    <item>
      <title>YTD using week numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-using-week-numbers/m-p/2684950#M80563</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First time posting here, I hope everyone is doing well!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to build a YTD measure but running into an issue. The date column I'm using is week ending (we receive POS data weekly, not daily at my company). When I run YTD sales using normal time intelligence, it's pulling in sales for ending Jan 2 (see snapshot below). We consider this week to be 2021 sales, making my YTD numbers inaccurate. Note that I cannot simply calculate the week beginning for each week to "move" this week to 2021 because it causing an issue on another year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wondering is there's a way to run YTD sales using week numbers from the "Week" column, instead of dates. I'm able to identify the current week using a MAX function, so I am able to identify wk1 and current week's values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping this makes sense and someone has a fix. Thanks in advance!!!&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 23:05:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-using-week-numbers/m-p/2684950#M80563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-05T23:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: YTD using week numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-using-week-numbers/m-p/2684996#M80567</link>
      <description>&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/week-based-time-intelligence-in-dax/" target="_blank"&gt;Week-Based Time Intelligence in DAX - SQLBI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2022 00:31:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-using-week-numbers/m-p/2684996#M80567</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-08-06T00:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: YTD using week numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-using-week-numbers/m-p/2685611#M80630</link>
      <description>&lt;P&gt;Thanks &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349489" data-lia-user-login="daXtreme" class="lia-mention lia-mention-user"&gt;daXtreme&lt;/a&gt;! The answer was definitely in there. Still working through setting up my calendar correctly, but this is what I was looking for. Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2022 14:52:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-using-week-numbers/m-p/2685611#M80630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-07T14:52:54Z</dc:date>
    </item>
  </channel>
</rss>

