<?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: FORMAT DAX WEEKNUM in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1156614#M17678</link>
    <description>&lt;P&gt;Right now, this works:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;U&gt;"(" &amp;amp; "Week " &amp;amp; 1 + WEEKNUM('Date'[Date]) - WEEKNUM(STARTOFMONTH('Date'[Date])) &amp;amp; ") " &amp;amp; FORMAT('Date'[Date], "MM") &amp;amp; "/" &amp;amp; FORMAT('Date'[Date], "YYYY")&lt;/U&gt; and it gives me "(Week 1) 01/2018" b&lt;/SPAN&gt;&lt;SPAN&gt;ut I can't seem to remove the "Week 1" from the output.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 12 Jun 2020 20:08:34 GMT</pubDate>
    <dc:creator>jytech</dc:creator>
    <dc:date>2020-06-12T20:08:34Z</dc:date>
    <item>
      <title>FORMAT DAX WEEKNUM</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1154080#M17615</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a Calendar Table using DAX. I currently have a Column with the Week Number with DAX written as:&amp;nbsp;&lt;SPAN&gt;&lt;U&gt;Week Number = WEEKNUM('Date'[Date],1)&lt;/U&gt;. Instead of simply showing just the Week Number (i.e. 1,2,3,4...53), I would like to format it to only show "MM/YYYY" (i.e. 01/2020). Is there a way to format the WEEKNUM DAX Date Function to only show "MM/YYYY" only while not showing the actual Week Number?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 23:39:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1154080#M17615</guid>
      <dc:creator>jytech</dc:creator>
      <dc:date>2020-06-11T23:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: FORMAT DAX WEEKNUM</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1154134#M17618</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="235827" data-lia-user-login="jytech" class="lia-mention lia-mention-user"&gt;jytech&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the FORMAT function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"WekNum", FORMAT([Date],"MM/YYYY")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cheers!&lt;BR /&gt;Vivek&lt;BR /&gt;&lt;BR /&gt;If it helps, please mark it as a solution. Kudos would be a cherry on the top &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;If it doesn't, then please share a sample data along with the expected results (preferably an excel file and not an image)&lt;BR /&gt;&lt;BR /&gt;Blog: &lt;A href="https://www.vivran.in/my-blog" target="_blank" rel="noopener"&gt;vivran.in/my-blog&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/vivek-ranjan-063a1a17b/" target="_blank" rel="noopener"&gt;Connect on LinkedIn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://twitter.com/imvivran" target="_blank" rel="noopener"&gt;Follow on Twitter&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jun 2020 01:25:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1154134#M17618</guid>
      <dc:creator>vivran22</dc:creator>
      <dc:date>2020-06-12T01:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: FORMAT DAX WEEKNUM</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1156613#M17677</link>
      <description>&lt;P&gt;Hi Vivek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your feedback but that FORMAT function does one of two things:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If I use this &lt;SPAN&gt;&lt;U&gt;FORMAT([Date],"MM/YYYY")&lt;/U&gt;, it g&lt;/SPAN&gt;roups it by month which does not give me the Week Hierarchy that I need.&lt;/LI&gt;&lt;LI&gt;If I use it like this&amp;nbsp;&lt;U&gt;FORMAT(WEEKNUM([Date],1),"MM/YYYY")&lt;/U&gt;, it gives me a year of "1900"&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 12 Jun 2020 20:06:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1156613#M17677</guid>
      <dc:creator>jytech</dc:creator>
      <dc:date>2020-06-12T20:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: FORMAT DAX WEEKNUM</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1156614#M17678</link>
      <description>&lt;P&gt;Right now, this works:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;U&gt;"(" &amp;amp; "Week " &amp;amp; 1 + WEEKNUM('Date'[Date]) - WEEKNUM(STARTOFMONTH('Date'[Date])) &amp;amp; ") " &amp;amp; FORMAT('Date'[Date], "MM") &amp;amp; "/" &amp;amp; FORMAT('Date'[Date], "YYYY")&lt;/U&gt; and it gives me "(Week 1) 01/2018" b&lt;/SPAN&gt;&lt;SPAN&gt;ut I can't seem to remove the "Week 1" from the output.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jun 2020 20:08:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1156614#M17678</guid>
      <dc:creator>jytech</dc:creator>
      <dc:date>2020-06-12T20:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: FORMAT DAX WEEKNUM</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1157520#M17716</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="235827" data-lia-user-login="jytech" class="lia-mention lia-mention-user"&gt;jytech&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share few sample output you are looking for? That would help me in understanding the requirement better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;BR /&gt;Vivek&lt;BR /&gt;&lt;BR /&gt;Blog: &lt;A href="https://www.vivran.in/my-blog" target="_blank"&gt;vivran.in/my-blog&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/vivek-ranjan-063a1a17b/" target="_blank"&gt;Connect on LinkedIn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://twitter.com/imvivran" target="_blank"&gt;Follow on Twitter&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 05:12:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FORMAT-DAX-WEEKNUM/m-p/1157520#M17716</guid>
      <dc:creator>vivran22</dc:creator>
      <dc:date>2020-06-14T05:12:16Z</dc:date>
    </item>
  </channel>
</rss>

