<?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: Linked date hierarchy blank after scheduled refresh in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Linked-date-hierarchy-blank-after-scheduled-refresh/m-p/3537912#M31829</link>
    <description>&lt;P&gt;I'm not sure, but take care about full date value (include time part). Because power query can shift time part of date, if server is configured in different time zone.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2023 21:16:21 GMT</pubDate>
    <dc:creator>josef78</dc:creator>
    <dc:date>2023-11-16T21:16:21Z</dc:date>
    <item>
      <title>Linked date hierarchy blank after scheduled refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Linked-date-hierarchy-blank-after-scheduled-refresh/m-p/3534832#M31810</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a PBI report on our hosted PBI server. It is scheduled / updated nightly. I have a table (on left in image below) that has a Key and Last Updated fields. The Last Updated field has a relationship to a Date table that is created by a DAX (see code snip-it further below) and provides a hierarchy for Year/Month/Day. When you look at the table you can see the Year/Month/Day are blank.&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;When I edit the PBI file in the Desktop app the table gets populated as I would expect (see image below). If I save the report all looks good on the PBI server but when the report is scheduled/updated the table reverts back. Any ideas why this is?&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR BaseCalendar = CALENDAR(MIN('Autotime Query'[Week Worked]), MAX('Autotime Query'[Week Worked]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GENERATE (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BaseCalendar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR BaseDate = [Date]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR YearDate = YEAR(BaseDate)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR MonthNumber = MONTH (BaseDate)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN ROW (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Day", DAY(BaseDate),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Year", YearDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Month Number", MonthNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Month", FORMAT (BaseDate, "mmm")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 10:23:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Linked-date-hierarchy-blank-after-scheduled-refresh/m-p/3534832#M31810</guid>
      <dc:creator>charliecronin</dc:creator>
      <dc:date>2023-11-15T10:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linked date hierarchy blank after scheduled refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Linked-date-hierarchy-blank-after-scheduled-refresh/m-p/3537912#M31829</link>
      <description>&lt;P&gt;I'm not sure, but take care about full date value (include time part). Because power query can shift time part of date, if server is configured in different time zone.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 21:16:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Linked-date-hierarchy-blank-after-scheduled-refresh/m-p/3537912#M31829</guid>
      <dc:creator>josef78</dc:creator>
      <dc:date>2023-11-16T21:16:21Z</dc:date>
    </item>
  </channel>
</rss>

