<?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: Help Calculating a Season to Date Plan number - With a custom calendar in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/995809#M12469</link>
    <description>&lt;P&gt;How do you join 'Plan Info' with '4-5-4 Calendar'? With the data you posted it's only possible on single week with Many:Many, which will not work. Are there more tables involved that you have not included? Or year specific columnin 'Plan Info'?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2020 17:15:10 GMT</pubDate>
    <dc:creator>Stachu</dc:creator>
    <dc:date>2020-03-27T17:15:10Z</dc:date>
    <item>
      <title>Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/987874#M12221</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am trying to calculate my STD plan number while using as custom 4-5-4 fiscal calendar.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The formula I tried to use is below and it gave me (Blank) as my answer.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Note: That the [Total Plan] is from another dataset that is linked to the 4-5-4 Calendar by the Fiscal Week Number.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Season To Date Plan = &lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;VAR CurrFiscalWk = SELECTEDVALUE('4-5-4 Calendar'[FiscalWeekNumber])&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;VAR CurrFiscalYR = SELECTEDVALUE('4-5-4 Calendar'[FiscalYear])&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Return&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;CALCULATE([Total Plan],&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;FILTER (ALL('4-5-4 Calendar'),&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;'4-5-4 Calendar'[CalendarYear]= CurrFiscalYR &amp;amp;&amp;amp;&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;'4-5-4 Calendar'[FiscalWeekNumber] &amp;lt;= CurrFiscalWk))&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;Any help would be greatly appericated.&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;Thank you for looking.&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;Jeff&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Mar 2020 01:27:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/987874#M12221</guid>
      <dc:creator>jnunn</dc:creator>
      <dc:date>2020-03-24T01:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/994018#M12411</link>
      <description>&lt;P&gt;What is the syntax for the [Total Plan]?&lt;/P&gt;
&lt;P&gt;Also, can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Column1&lt;/TD&gt;
&lt;TD&gt;Column2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;2.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 21:02:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/994018#M12411</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-03-26T21:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/994047#M12412</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;My total plan syntax is: &lt;U&gt;Total Plan = sum('Plan Info'[Plan])&lt;/U&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;My plan table is as below. There are about 5 different departments with a plan in each for all 26 weeks of Spring.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Department&lt;/TD&gt;&lt;TD&gt;Week Number&lt;/TD&gt;&lt;TD&gt;Plan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;366&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;312011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;366&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;428922&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;358&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;312011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;358&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;4289225&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;My 4-5-4 fiscal calendar is pretty big and wont fit well in here.&amp;nbsp; I can send you the Advanced Editor copy if you would like.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for taking the time to look into this.&amp;nbsp; Jeff&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 21:36:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/994047#M12412</guid>
      <dc:creator>jnunn</dc:creator>
      <dc:date>2020-03-26T21:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/994810#M12438</link>
      <description>&lt;P&gt;Advanced Editor copy will be fine, please post it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT how do you do the join? You filter both Year and Week Nr, but there cannot be join with the table that you posted that would make this work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you have&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VAR CurrFiscalYR = SELECTEDVALUE('4-5-4 Calendar'[FiscalYear])&lt;/LI-CODE&gt;
&lt;P&gt;and&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;'4-5-4 Calendar'[CalendarYear]= CurrFiscalYR &amp;amp;&amp;amp;&lt;/LI-CODE&gt;
&lt;P&gt;you pickup value from '4-5-4 Calendar'[&lt;STRONG&gt;FiscalYear&lt;/STRONG&gt;] and use it in '4-5-4 Calendar'[&lt;STRONG&gt;CalendarYear&lt;/STRONG&gt;], which I assume have different entries - maybe that's the main issue?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 07:51:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/994810#M12438</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-03-27T07:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/995542#M12463</link>
      <description>&lt;P&gt;Here is the Advanced Editor for my calendar.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;#"4-5-4 Calendar" = let&lt;BR /&gt;CreateCustomCalendar = (StartDate as date, FiscalYear as number, FiscalYearSequence as number) as table =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;InitialDates28 = Table.FromList(&lt;BR /&gt;List.Dates(StartDate,364, #duration(1,0,0,0)),&lt;BR /&gt;Splitter.SplitByNothing(),&lt;BR /&gt;type table [Date=Date.Type],&lt;BR /&gt;null,&lt;BR /&gt;ExtraValues.Ignore),&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;InitialDates35 = Table.FromList(&lt;BR /&gt;List.Dates(Date.AddDays(StartDate, -28), 364, #duration(1,0,0,0)),&lt;BR /&gt;Splitter.SplitByNothing(),&lt;BR /&gt;type table [Date=Date.Type],&lt;BR /&gt;null,&lt;BR /&gt;ExtraValues.Ignore),&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// split dates into 3 tables&lt;BR /&gt;// one containing periods 1, 4, 7, 10, EACH OF 28 DAYS&lt;BR /&gt;// one containing periods 2,5,8,11 each of 35 days&lt;BR /&gt;// one containing periods 3,6,9,12 each of 28 days&lt;BR /&gt;Tbl281 = Table.AlternateRows(InitialDates28, 7*4, 7*5 + 7*4, 7*4),&lt;BR /&gt;Tbl35 = Table.AlternateRows(InitialDates35,0, 7*4 + 7*4, 7*5),&lt;BR /&gt;Tbl282 = Table.AlternateRows(InitialDates28, 0, 7*5 + 7*4, 7*4),&lt;BR /&gt;&lt;BR /&gt;Tbl281AddIndex = Table.AddIndexColumn(Tbl281,"Indx",0,1),&lt;BR /&gt;Tbl281AddInt = Table.AddColumn(Tbl281AddIndex, "FiscalPeriodNumber", each Number.IntegerDivide([Indx],28) * 3 + 1, Int64.Type),&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tbl35AddIndex = Table.AddIndexColumn(Tbl35, "Indx", 0, 1),&lt;BR /&gt;Tbl35AddInt = Table.AddColumn(Tbl35AddIndex,"FiscalPeriodNumber", each Number.IntegerDivide([Indx],35) * 3 + 2, Int64.Type),&lt;BR /&gt;&lt;BR /&gt;Tbl282AddIndex = Table.AddIndexColumn(Tbl282,"Indx",0,1),&lt;BR /&gt;Tbl282AddInt = Table.AddColumn(Tbl282AddIndex, "FiscalPeriodNumber", each Number.IntegerDivide([Indx],28) * 3 + 3, Int64.Type),&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;CombineTbl = Table.SelectColumns(Table.Sort(Table.Combine({Tbl281AddInt,Tbl35AddInt,Tbl282AddInt}), {"Date",Order.Ascending}),{"Date","FiscalPeriodNumber"}),&lt;BR /&gt;&lt;BR /&gt;// add additional Fiscal info columns&lt;BR /&gt;AddPeriodLabel = Table.AddColumn(CombineTbl, "FiscalPeriodLabel", each "P" &amp;amp; Text.From([FiscalPeriodNumber]), type text),&lt;BR /&gt;AddFiscalPeriodSequence = Table.AddColumn(AddPeriodLabel, "FiscalPeriodNumberSequence", each [FiscalPeriodNumber] + (FiscalYearSequence - 1) * 12, Int64.Type),&lt;BR /&gt;&lt;BR /&gt;AddFiscalQuarter = Table.AddColumn(AddFiscalPeriodSequence, "FiscalQuarterNumber", each Number.IntegerDivide([FiscalPeriodNumber]-1,3)+1, Int64.Type),&lt;BR /&gt;AddFiscalQuarterLabel = Table.AddColumn(AddFiscalQuarter, "FiscalQuarter", each "Q" &amp;amp; Text.From([FiscalQuarterNumber]), type text),&lt;BR /&gt;AddFiscalQuarterSequence = Table.AddColumn(AddFiscalQuarterLabel, "FiscalQuarterSequence", each [FiscalQuarterNumber] + (FiscalYearSequence - 1) * 4, Int64.Type),&lt;BR /&gt;AddFiscalSeason = Table.AddColumn(AddFiscalQuarterSequence, "FiscalSeasonNumber", each Number.IntegerDivide([FiscalPeriodNumber]-1,6)+1, Int64.Type),&lt;BR /&gt;&lt;BR /&gt;AddFiscalYear = Table.AddColumn(AddFiscalSeason,"FiscalYear", each FiscalYear, Int64.Type),&lt;BR /&gt;&lt;BR /&gt;AddDayNumberOfFiscalYear = Table.AddIndexColumn(AddFiscalYear,"DayNumberOfFiscalYear",1,1),&lt;BR /&gt;AddDayNumberOfFiscalYearSequence = Table.AddColumn(AddDayNumberOfFiscalYear, "DayNumberOfFiscalYearSequence", each [DayNumberOfFiscalYear] + (FiscalYearSequence - 1) * 364, Int64.Type),&lt;BR /&gt;AddFiscalWeekNum = Table.AddColumn(AddDayNumberOfFiscalYearSequence,"FiscalWeekNumber",each Number.IntegerDivide([DayNumberOfFiscalYear]-1,7)+1, Int64.Type),&lt;BR /&gt;AddFiscalWeekLabel = Table.AddColumn(AddFiscalWeekNum, "FiscalWeekLabel", each "Week " &amp;amp; Text.From([FiscalWeekNumber]), type text),&lt;BR /&gt;AddFiscalWeekNumSequence = Table.AddColumn(AddFiscalWeekLabel, "FiscalWeekNumberSequence", each [FiscalWeekNumber] + (FiscalYearSequence - 1) * 52, Int64.Type),&lt;BR /&gt;&lt;BR /&gt;// add Calendar Info columns&lt;BR /&gt;AddCalendarWeek = Table.AddColumn(AddFiscalWeekNumSequence, "CalendarWeek", each Date.WeekOfYear([Date],Day.Sunday), Int64.Type),&lt;BR /&gt;AddCalendarWeekLabel = Table.AddColumn(AddCalendarWeek, "CalendarWeekLabel", each "Week " &amp;amp; Text.From([CalendarWeek]), type text),&lt;BR /&gt;AddMonthNumber = Table.AddColumn(AddCalendarWeekLabel, "MonthNumberOfCalendarYear", each Date.Month([Date]), Int64.Type),&lt;BR /&gt;AddMonthName = Table.AddColumn(AddMonthNumber, "MonthName", each Date.MonthName([Date]), type text),&lt;BR /&gt;AddWeekDayNumber = Table.AddColumn(AddMonthName, "DayNumberOfWeek", each Date.DayOfWeek([Date], Day.Monday) + 1, Int64.Type),&lt;BR /&gt;AddWeekDayName = Table.AddColumn(AddWeekDayNumber, "WeekdayName", each Date.ToText([Date],"dddd"), type text),&lt;BR /&gt;AddCalendarQuarter = Table.AddColumn(AddWeekDayName, "QuarterOfCalendarYear", each Date.QuarterOfYear([Date]), Int64.Type),&lt;BR /&gt;AddCalendarQuarterLabel = Table.AddColumn(AddCalendarQuarter, "QuarterLabelOfCalendarYear", each "Q" &amp;amp; Text.From([QuarterOfCalendarYear]), type text),&lt;BR /&gt;AddCalendarYear = Table.AddColumn(AddCalendarQuarterLabel, "CalendarYear", each Date.Year([Date]), Int64.Type),&lt;BR /&gt;AddPreviuosWeek = Table.AddColumn(AddCalendarYear, "Previous Week", each Date.IsInPreviousWeek([Date]))&lt;BR /&gt;&lt;BR /&gt;in&lt;BR /&gt;AddPreviuosWeek,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//AddPreviuosWeek = Table.AddColumn(AddCalendarYear, "Previous Week", each Date.IsInPreviousWeek(Date.AddDays([Date],-0)), type text)&lt;BR /&gt;&lt;BR /&gt;CreateWholeCalendar = (InitialDate as date, InitialFiscalYear as number, NumberOfCalendars as number) as table =&amp;gt;&lt;BR /&gt;Table.Combine(List.Accumulate({1..NumberOfCalendars},&lt;BR /&gt;{},&lt;BR /&gt;(state,current) =&amp;gt; state &amp;amp; {CreateCustomCalendar(Date.AddDays(InitialDate, (current -1) * 364),&lt;BR /&gt;InitialFiscalYear + current - 1,&lt;BR /&gt;current)}&lt;BR /&gt;))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in&lt;BR /&gt;CreateWholeCalendar(#date(2020,2,2),2020,5),&lt;BR /&gt;#"Added Custom" = Table.AddColumn(#"4-5-4 Calendar", "Current Date", each DateTime.FixedLocalNow()),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(#"Added Custom",{{"Current Date", type date}}),&lt;BR /&gt;#"Added Conditional Column" = Table.AddColumn(#"Changed Type", "Year", each if [Current Date] &amp;gt;= [Date] then true else false),&lt;BR /&gt;#"Added Conditional Column1" = Table.AddColumn(#"Added Conditional Column", "Current Fiscal Day", each if [Current Date] = [Date] then [DayNumberOfFiscalYear] else 0),&lt;BR /&gt;#"Changed Type1" = Table.TransformColumnTypes(#"Added Conditional Column1",{{"Current Fiscal Day", Int64.Type}})&lt;BR /&gt;in&lt;BR /&gt;#"Changed Type1"&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 14:59:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/995542#M12463</guid>
      <dc:creator>jnunn</dc:creator>
      <dc:date>2020-03-27T14:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/995809#M12469</link>
      <description>&lt;P&gt;How do you join 'Plan Info' with '4-5-4 Calendar'? With the data you posted it's only possible on single week with Many:Many, which will not work. Are there more tables involved that you have not included? Or year specific columnin 'Plan Info'?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 17:15:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/995809#M12469</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-03-27T17:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/995832#M12472</link>
      <description>&lt;P&gt;I have them joined as a many to many.&amp;nbsp; I tried ading a third table that just had the week numbers but I could not get that to work either and I think it caused another issue.&amp;nbsp; I can add the other table back if needed.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 17:32:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/995832#M12472</guid>
      <dc:creator>jnunn</dc:creator>
      <dc:date>2020-03-27T17:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/996026#M12480</link>
      <description>&lt;P&gt;OK, so if the relation is just on Week Nr, how is the Year supposed to work? it seems there is no year granularity in 'Plan Info'&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Department&lt;/TD&gt;
&lt;TD&gt;Week Number&lt;/TD&gt;
&lt;TD&gt;Plan&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;366&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;312011&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;366&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;428922&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;358&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;312011&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;358&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;4289225&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;let's say you filter Year to 2020&amp;nbsp;and Week to 1 in the slicer from '4-5-4 Calendar' - what should be the output in this scenario?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What should be the output if you filter 2021 and 1?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 19:53:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/996026#M12480</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-03-27T19:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/996056#M12485</link>
      <description>&lt;P&gt;I have been at this for a little bit and the formula above was based on something I read.&amp;nbsp; It may not be the correct way of doing what I need done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal is to not use filters, I want/need everything to be based off of the current date.&amp;nbsp; Based on the date I want to know what the Previous week number is, and what the season, month and year the previous week lives in.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;My ultimate goal is to the figure the cumulative plan numbers for previous week, season to date, year to date and eventually month to date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That all being said if I use today, March 27, as a example it look like this:&lt;/P&gt;&lt;P&gt;3/20 lives in Fiscal week 8&lt;/P&gt;&lt;P&gt;For the previous week I then need to see the plan for week #7, the for my season to date number it would be the sum of weeks 1 thru 7, and the month wpuld be sum of weeks 5 through 7.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have figured out a way to show the previous week in the calendar.&amp;nbsp; I just need some way to sum the 7 week of the season.&amp;nbsp; If this can be done in the calendar instead of DAX that will work too. I just thought DAX would be easier.&lt;/P&gt;&lt;P&gt;Thanks again for looking into my issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 20:23:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/996056#M12485</guid>
      <dc:creator>jnunn</dc:creator>
      <dc:date>2020-03-27T20:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/997113#M12569</link>
      <description>&lt;P&gt;So if I understand correctly you don't actually want to use slicers, just base the calculation on current date, correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still don't undersantd how you manage multiple years though. Does the week counter reset with the new year? Say, if you have last week of 2020 and first week of 2021 - would their indexes be 53 and 1 or 53 and 54? And if that doesn't apply to you then why in the Calendar table are there multiple years?&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 15:29:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/997113#M12569</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-03-29T15:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/999186#M12635</link>
      <description>&lt;P&gt;The current date would also dictate the year.&amp;nbsp; The week counter is reset with the year.&amp;nbsp; After week 53 we go back to week 1.&amp;nbsp; I will say that the plan will&amp;nbsp; probably not cross years so it may not be totally relative.&amp;nbsp; The reason I put multiple years in the calendar is beacuse I am building this for another user and I want it to work for them for multiple years, as they dont have the expetiece to fix it..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 20:12:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/999186#M12635</guid>
      <dc:creator>jnunn</dc:creator>
      <dc:date>2020-03-30T20:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/1000017#M12654</link>
      <description>&lt;P&gt;how does current date dictate the year?&lt;/P&gt;
&lt;P&gt;you posted this data:&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Department&lt;/TD&gt;
&lt;TD&gt;Week Number&lt;/TD&gt;
&lt;TD&gt;Plan&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;366&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;312011&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;366&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;428922&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;358&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;312011&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;358&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;4289225&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;to which year does the first 1 belong, and to which year does the second 1 belong? Right now it could be any of the 5 years that you have in the calendar table. Right now the year is 2020, so we could assume that it's relating to 2020, but when the year changes to 2021 it would mean that the same record relates to 2021, which seems incorrect&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 07:11:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/1000017#M12654</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-03-31T07:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help Calculating a Season to Date Plan number - With a custom calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/1001109#M12687</link>
      <description>&lt;P&gt;All of the data in the plan is fo 2020.&amp;nbsp; They will never be a time whan a plan would go across 2 fiscal years.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 17:16:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Calculating-a-Season-to-Date-Plan-number-With-a-custom/m-p/1001109#M12687</guid>
      <dc:creator>jnunn</dc:creator>
      <dc:date>2020-03-31T17:16:07Z</dc:date>
    </item>
  </channel>
</rss>

