<?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: Current week to last 6 week Individual week count in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Current-week-to-last-6-week-Individual-week-count/m-p/3638216#M140809</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My Data Model is look like this..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want To show Only Current Week to Past 5 weeks Count data in this visual and dynamically the current week number should be change weekly when dataset is refreshed&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2024 06:21:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-15T06:21:52Z</dc:date>
    <item>
      <title>Current week to last 6 week Individual week count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Current-week-to-last-6-week-Individual-week-count/m-p/3633404#M140529</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have week no column and Termination year column and Tour Request no column and Qt Exclude Flag column in a table in power bi desktop. I have a week column from 1 to 52 week numbers. I want to show the distinct count of Tour Request no of Every week of Termination Year Current year and Qt Exclude Flag '0' individually up to current week in the line chart .and the Current week to Past 6 weeks count should be Dynamically change weekly when I refresh the report&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Like this. for example my currentweek is 48, the linechart should show the current week and Last 6 weeks Data for individual weeks.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 13:04:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Current-week-to-last-6-week-Individual-week-count/m-p/3633404#M140529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-11T13:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Current week to last 6 week Individual week count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Current-week-to-last-6-week-Individual-week-count/m-p/3634930#M140610</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file, and try using WINDOW DAX function.&lt;BR /&gt;&lt;BR /&gt;&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;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/window-function-dax?wt.mc_id=DP-MVP-5004989" target="_blank"&gt;WINDOW function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Quantity last 6 weeks: =
VAR _t =
    FILTER (
        ALL ( 'Calendar'[WeekStartDate], 'Calendar'[Year-Week] ),
        [Quantity:] &amp;lt;&amp;gt; BLANK ()
    )
RETURN
    CALCULATE (
        [Quantity:],
        KEEPFILTERS (
            WINDOW ( 1, ABS, 6, ABS, _t, ORDERBY ( 'Calendar'[WeekStartDate], DESC ) )
        )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 04:29:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Current-week-to-last-6-week-Individual-week-count/m-p/3634930#M140610</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-01-12T04:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Current week to last 6 week Individual week count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Current-week-to-last-6-week-Individual-week-count/m-p/3638216#M140809</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My Data Model is look like this..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want To show Only Current Week to Past 5 weeks Count data in this visual and dynamically the current week number should be change weekly when dataset is refreshed&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 06:21:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Current-week-to-last-6-week-Individual-week-count/m-p/3638216#M140809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-15T06:21:52Z</dc:date>
    </item>
  </channel>
</rss>

