<?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 Scheduled Data Refresh failing in report server in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-Data-Refresh-failing-in-report-server/m-p/335533#M3302</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have published one report to power bi report server. When we refresh the report manaully, it is getting refreshed in a minute, whereas when we enable schedule refresh for the same report, it is failing consistently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using October'17 version of Power BI Report server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data Source: SQL Server (Import)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we check the power bi report server log file, below is the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Processing Data Model Refresh: SessionId: f7ffc0dc-5123-4f0b-a53d-7e004f763f2a, Status: Error Failed to refresh the model, Exception System.ArgumentException: An item with the same key has already been added"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Question: If there is issue with data model, it shouldn't get refreshed when we do it in Power BI Desktop. But i'm failed to understand why it behaving differently when the same working PBI has been enabled schedule refresh.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Appreciate your help&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-Santosh&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 10 Jan 2018 07:32:55 GMT</pubDate>
    <dc:creator>sgovindarajula</dc:creator>
    <dc:date>2018-01-10T07:32:55Z</dc:date>
    <item>
      <title>Scheduled Data Refresh failing in report server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-Data-Refresh-failing-in-report-server/m-p/335533#M3302</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have published one report to power bi report server. When we refresh the report manaully, it is getting refreshed in a minute, whereas when we enable schedule refresh for the same report, it is failing consistently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using October'17 version of Power BI Report server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data Source: SQL Server (Import)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we check the power bi report server log file, below is the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Processing Data Model Refresh: SessionId: f7ffc0dc-5123-4f0b-a53d-7e004f763f2a, Status: Error Failed to refresh the model, Exception System.ArgumentException: An item with the same key has already been added"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Question: If there is issue with data model, it shouldn't get refreshed when we do it in Power BI Desktop. But i'm failed to understand why it behaving differently when the same working PBI has been enabled schedule refresh.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Appreciate your help&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-Santosh&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Jan 2018 07:32:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-Data-Refresh-failing-in-report-server/m-p/335533#M3302</guid>
      <dc:creator>sgovindarajula</dc:creator>
      <dc:date>2018-01-10T07:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Data Refresh failing in report server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-Data-Refresh-failing-in-report-server/m-p/338117#M3383</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="45910" data-lia-user-login="sgovindarajula" class="lia-mention lia-mention-user"&gt;sgovindarajula&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on my test in the latest Power BI report server version&amp;nbsp;&lt;A href="https://www.microsoft.com/en-us/download/details.aspx?id=56137" target="_blank"&gt;14.0.600.442&lt;/A&gt;, the schedule&amp;nbsp;refresh can be completed&amp;nbsp;successfully.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Which Power BI report server version did you run? Please update to the same version as ours.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. Please download and install corresponding Power BI desktop optimized for report&amp;nbsp;server&amp;nbsp;version then open the report, republish to report server.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3. If above ways don't work, please share detail information&amp;nbsp;with us. For example, do you specify any T-SQL query when getting data; do you do any Merge/Append Queries steps after importing data,etc.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Qiuyun Yu&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 05:40:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-Data-Refresh-failing-in-report-server/m-p/338117#M3383</guid>
      <dc:creator>v-qiuyu-msft</dc:creator>
      <dc:date>2018-01-15T05:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Data Refresh failing in report server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-Data-Refresh-failing-in-report-server/m-p/340341#M3436</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6970" data-lia-user-login="v-qiuyu-msft" class="lia-mention lia-mention-user"&gt;v-qiuyu-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using the October 2017 Power BI Report Server version. The PBI refresh works manually where as in report server it is failing.&lt;/P&gt;&lt;P&gt;Below are the steps which we have done to overcome this issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Getting rid of Merge/Append queries in Power BI and handling them in the SQL ( which is our data source)&lt;/LI&gt;&lt;LI&gt;Getting rid of, Custom Column which we have created&amp;nbsp;&amp;nbsp;in one of the data set&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;By doing the above 2 steps, we would able to fix the refresh issue in Report Server. In other terms, we have ensured to keep our data model simple without making any modifications in the Power BI ( Like Merge/Append)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 00:30:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-Data-Refresh-failing-in-report-server/m-p/340341#M3436</guid>
      <dc:creator>sgovindarajula</dc:creator>
      <dc:date>2018-01-18T00:30:28Z</dc:date>
    </item>
  </channel>
</rss>

