<?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 Variable date table with parameter as enddate in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-table-with-parameter-as-enddate/m-p/1866777#M39986</link>
    <description>&lt;P&gt;Hi Im trying to make a calendartable with the enddate based on a parameter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;These are the parameter values. My goal is to set the enddate based on today&amp;nbsp; + the value selected by the slicer/parameter&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a part of the table where i set my start and enddate but unfortunatelly this way it doesnt work :&amp;nbsp;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&lt;BR /&gt;DIM_Dates =&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;ADDCOLUMNS (&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT color="#FFCC00"&gt;CALENDAR (DATE(2020,1,1), Today()+Enddate[daysinfuture]),&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;"Year", YEAR ( [Date] ))&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;Help/ tips are welcome how to fix this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 27 May 2021 07:50:24 GMT</pubDate>
    <dc:creator>01_RAF_01</dc:creator>
    <dc:date>2021-05-27T07:50:24Z</dc:date>
    <item>
      <title>Variable date table with parameter as enddate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-table-with-parameter-as-enddate/m-p/1866777#M39986</link>
      <description>&lt;P&gt;Hi Im trying to make a calendartable with the enddate based on a parameter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;These are the parameter values. My goal is to set the enddate based on today&amp;nbsp; + the value selected by the slicer/parameter&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a part of the table where i set my start and enddate but unfortunatelly this way it doesnt work :&amp;nbsp;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&lt;BR /&gt;DIM_Dates =&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;ADDCOLUMNS (&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT color="#FFCC00"&gt;CALENDAR (DATE(2020,1,1), Today()+Enddate[daysinfuture]),&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;"Year", YEAR ( [Date] ))&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;Help/ tips are welcome how to fix this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 May 2021 07:50:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-table-with-parameter-as-enddate/m-p/1866777#M39986</guid>
      <dc:creator>01_RAF_01</dc:creator>
      <dc:date>2021-05-27T07:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Variable date table with parameter as enddate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-table-with-parameter-as-enddate/m-p/1866808#M39987</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296970" data-lia-user-login="01_RAF_01" class="lia-mention lia-mention-user"&gt;01_RAF_01&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your selection in the parameter can not be included in the Calendar table, when you create a table, it gets loaded to the model and any value from the report or slicers cannot affect the tables in the model.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 07:58:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-table-with-parameter-as-enddate/m-p/1866808#M39987</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-05-27T07:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variable date table with parameter as enddate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-table-with-parameter-as-enddate/m-p/1866870#M39988</link>
      <description>&lt;P&gt;thanks for your reply&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;Are there any workarounds you know that can make this work?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 08:09:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-table-with-parameter-as-enddate/m-p/1866870#M39988</guid>
      <dc:creator>01_RAF_01</dc:creator>
      <dc:date>2021-05-27T08:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Variable date table with parameter as enddate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-table-with-parameter-as-enddate/m-p/1866888#M39989</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296970" data-lia-user-login="01_RAF_01" class="lia-mention lia-mention-user"&gt;01_RAF_01&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately no, that is how the model works.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 08:18:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-table-with-parameter-as-enddate/m-p/1866888#M39989</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-05-27T08:18:43Z</dc:date>
    </item>
  </channel>
</rss>

