<?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: Creating time slicers that default to the current year/week/day in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-time-slicers-that-default-to-the-current-year-week-day/m-p/2561595#M72889</link>
    <description>&lt;P&gt;Thanks for the comment. For the 'TODAY' function, does it update with UTC timezone? I had this issue using the relative time date filter pane. If so, I am not able to use the today function.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Edit - I am trying to use the max date for invoices and replace it with 'today'. hopefully it works.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jun 2022 20:54:57 GMT</pubDate>
    <dc:creator>OCBB_SFAFPandA</dc:creator>
    <dc:date>2022-06-06T20:54:57Z</dc:date>
    <item>
      <title>Creating time slicers that default to the current year/week/day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-time-slicers-that-default-to-the-current-year-week-day/m-p/2553596#M72391</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create some slicers that automatically update. The relative date in the filter pane is not working for me due to the time zone.&lt;/P&gt;&lt;P&gt;I am looking for 3 default slicers that default year, weeks, and weekday.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a current year formula based on another thread&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Current Year = IF('Date'[Date].[Year] = MAX('Date'[Date].[Year]), "Current Year", FORMAT('Date'[Date].[Year], "####"))&lt;/LI-CODE&gt;&lt;P&gt;When I try this for week, I am picking up 52 weeks as the max, even though this year doesn't have that week yet. I am supposed to put a calc in for the current year it looks like, would that be a filter function somewhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the week formula is done, the day formula should be similar?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 18:30:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-time-slicers-that-default-to-the-current-year-week-day/m-p/2553596#M72391</guid>
      <dc:creator>OCBB_SFAFPandA</dc:creator>
      <dc:date>2022-06-01T18:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating time slicers that default to the current year/week/day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-time-slicers-that-default-to-the-current-year-week-day/m-p/2560515#M72817</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="388250" data-lia-user-login="OCBB_SFAFPandA" class="lia-mention lia-mention-user"&gt;OCBB_SFAFPandA&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could use today() function instead.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Current Year = IF('Date'[Date].[Year] = YEAR(TODAY()), "Current Year", FORMAT('Date'[Date].[Year], "####"))
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Current Year = IF(WEEKNUM('Date'[Date]) = WEEKNUM(TODAY()), "Current Week", WEEK('Date'[Date]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 08:10:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-time-slicers-that-default-to-the-current-year-week-day/m-p/2560515#M72817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-06T08:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating time slicers that default to the current year/week/day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-time-slicers-that-default-to-the-current-year-week-day/m-p/2561595#M72889</link>
      <description>&lt;P&gt;Thanks for the comment. For the 'TODAY' function, does it update with UTC timezone? I had this issue using the relative time date filter pane. If so, I am not able to use the today function.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Edit - I am trying to use the max date for invoices and replace it with 'today'. hopefully it works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 20:54:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-time-slicers-that-default-to-the-current-year-week-day/m-p/2561595#M72889</guid>
      <dc:creator>OCBB_SFAFPandA</dc:creator>
      <dc:date>2022-06-06T20:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating time slicers that default to the current year/week/day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-time-slicers-that-default-to-the-current-year-week-day/m-p/2563139#M72974</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="388250" data-lia-user-login="OCBB_SFAFPandA" class="lia-mention lia-mention-user"&gt;OCBB_SFAFPandA&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, it's local time.&lt;/P&gt;
&lt;P&gt;Yes, you could use weeknum(max(date)) instead.&amp;nbsp;And you will need to add year condition too.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Current Week = IF(WEEKNUM('Date'[Date]) = WEEKNUM(MAX('Date'[Date]))&amp;amp;&amp;amp;YERA('Date'[Date])=YEAR(MAX('Date'[Date])), "Current Week", WEEKNUM('Date'[Date]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 07:49:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-time-slicers-that-default-to-the-current-year-week-day/m-p/2563139#M72974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-07T07:49:29Z</dc:date>
    </item>
  </channel>
</rss>

