<?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 Year week in Power BI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Year-week-in-Power-BI/m-p/2535375#M36289</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to get concatenated year week in table visual in Power BI. Having column Week number. I got this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Analitika_0-1653378844666.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/720509i05E26B2DE6D4C076/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Analitika_0-1653378844666.png" alt="Analitika_0-1653378844666.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Seems year week is unsorted. I used this formula to for column Year week.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Year_week = FORMAT('Date'[Date],"YYYY") &amp;amp; "-" &amp;amp;'Date'[Week Number]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Week Number = WEEKNUM('Date'[Date],1).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How to resolve this issue by making ascending order year_week?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 07:52:30 GMT</pubDate>
    <dc:creator>Analitika</dc:creator>
    <dc:date>2022-05-24T07:52:30Z</dc:date>
    <item>
      <title>Year week in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Year-week-in-Power-BI/m-p/2535375#M36289</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to get concatenated year week in table visual in Power BI. Having column Week number. I got this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Analitika_0-1653378844666.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/720509i05E26B2DE6D4C076/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Analitika_0-1653378844666.png" alt="Analitika_0-1653378844666.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Seems year week is unsorted. I used this formula to for column Year week.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Year_week = FORMAT('Date'[Date],"YYYY") &amp;amp; "-" &amp;amp;'Date'[Week Number]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Week Number = WEEKNUM('Date'[Date],1).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How to resolve this issue by making ascending order year_week?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 07:52:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Year-week-in-Power-BI/m-p/2535375#M36289</guid>
      <dc:creator>Analitika</dc:creator>
      <dc:date>2022-05-24T07:52:30Z</dc:date>
    </item>
    <item>
      <title>Sort column ascending year week</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Year-week-in-Power-BI/m-p/2535786#M36359</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to ask how I can sort ascending column which is constructed from year and week. I am getting year week column but sorting is not as in normal case. For example,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Analitika_0-1653386509177.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/720621iB7F67D06B7B73882/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Analitika_0-1653386509177.png" alt="Analitika_0-1653386509177.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Year_week = FORMAT('Date'[Date],"YYYY") &amp;amp; "-" &amp;amp;'Date'[Week Number]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Week Number = WEEKNUM('Date'[Date],1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Formulaes.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 May 2022 09:59:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Year-week-in-Power-BI/m-p/2535786#M36359</guid>
      <dc:creator>Analitika</dc:creator>
      <dc:date>2022-05-24T09:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sort column ascending year week</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Year-week-in-Power-BI/m-p/2542490#M36361</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/229137"&gt;@Analitika&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can add a calculated column to extract the year and week number value from the date to concatenate and convert to numeric, then these values can be sorted by ASC/DESC order on your visuals.&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;YearWeek =
YEAR ( 'Table'[Date] ) * 100
    + WEEKNUM ( 'Table'[Date], 2 )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 01:08:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Year-week-in-Power-BI/m-p/2542490#M36361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-27T01:08:37Z</dc:date>
    </item>
  </channel>
</rss>

