<?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: First date of the week from year and week number in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1536179#M30180</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; Hello again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran into this problem:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The week 53 is causing a challenge. Do you know a quick fix to this logic?&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2020 09:40:15 GMT</pubDate>
    <dc:creator>SJHA</dc:creator>
    <dc:date>2020-12-07T09:40:15Z</dc:date>
    <item>
      <title>First date of the week from year and week number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338671#M23849</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I hope you can help me out. I've been searching and trying to find a way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a column with "year" and one with "week number" - I need a column with the first day of week.&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;It seems so simple, but it bugs my mind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help,&lt;/P&gt;&lt;P&gt;Sandi&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 13:01:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338671#M23849</guid>
      <dc:creator>SJHA</dc:creator>
      <dc:date>2020-09-01T13:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: First date of the week from year and week number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338697#M23853</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="256348" data-lia-user-login="SJHA" class="lia-mention lia-mention-user"&gt;SJHA&lt;/a&gt; , Try Monday Week start &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Week to Date = var _st = date([year],1,1)&lt;BR /&gt;var _week = [Weeknumber]&lt;BR /&gt;Return _st+((_week-1)*7) -WEEKDAY(_st,2)+1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Sunday Week Start&lt;/P&gt;
&lt;P&gt;Week to Date = var _st = date([year],1,1)&lt;BR /&gt;var _week = [Weeknumber]&lt;BR /&gt;Return _st+((_week-1)*7) -WEEKDAY(_st,1)+1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer : &lt;A href="https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 13:09:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338697#M23853</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-01T13:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: First date of the week from year and week number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338734#M23856</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;It only accepts the caculated measures. I did check for data type to be Date/Time&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;</description>
      <pubDate>Tue, 01 Sep 2020 13:24:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338734#M23856</guid>
      <dc:creator>SJHA</dc:creator>
      <dc:date>2020-09-01T13:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: First date of the week from year and week number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338766#M23859</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="256348" data-lia-user-login="SJHA" class="lia-mention lia-mention-user"&gt;SJHA&lt;/a&gt; , you need to create that as new column. The name is yearnumber in your case&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 13:46:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338766#M23859</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-01T13:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: First date of the week from year and week number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338790#M23861</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; I changed the data type to whole numbers and somehow that works with the code you provided.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much! You've made my day, if not a whole week!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 13:55:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1338790#M23861</guid>
      <dc:creator>SJHA</dc:creator>
      <dc:date>2020-09-01T13:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: First date of the week from year and week number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1447233#M27139</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Could you help me? I don't get to finish&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 13:54:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1447233#M27139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-21T13:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: First date of the week from year and week number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1536179#M30180</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; Hello again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran into this problem:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The week 53 is causing a challenge. Do you know a quick fix to this logic?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 09:40:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-date-of-the-week-from-year-and-week-number/m-p/1536179#M30180</guid>
      <dc:creator>SJHA</dc:creator>
      <dc:date>2020-12-07T09:40:15Z</dc:date>
    </item>
  </channel>
</rss>

