Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sgovindarajula
Frequent Visitor

Scheduled Data Refresh failing in report server

Hi there,

 

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.

 

We are using October'17 version of Power BI Report server.

 

Data Source: SQL Server (Import)

 

When we check the power bi report server log file, below is the error:

 

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"
 
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.
 
Appreciate your help
 
-Santosh
2 REPLIES 2
v-qiuyu-msft
Community Support
Community Support

Hi @sgovindarajula,

 

Based on my test in the latest Power BI report server version 14.0.600.442, the schedule refresh can be completed successfully. 

 

1. Which Power BI report server version did you run? Please update to the same version as ours. 

 

2. Please download and install corresponding Power BI desktop optimized for report server version then open the report, republish to report server. 

 

3. If above ways don't work, please share detail information 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. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-qiuyu-msft,

 

We are using the October 2017 Power BI Report Server version. The PBI refresh works manually where as in report server it is failing.

Below are the steps which we have done to overcome this issue:

 

  1. Getting rid of Merge/Append queries in Power BI and handling them in the SQL ( which is our data source)
  2. Getting rid of, Custom Column which we have created  in one of the data set

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)

 

- S

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.