cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

powerbi service refresh failed to modify the connection string due to "%s"

Hello,

during the refresh phase I receive the error 'Failed to modify the connection string due to %s, has it ever happened to you? the source is SQL Server, on the same source I have other datasets that update without problems.

Thank you

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: powerbi service refresh failed to modify the connection string due to "%s"

Hi @fmilidoni ,

 

Have you used fuzzy queries in the sql query defined in the source?( like "select a,b from table where table.a like '%s%'" )
You could check if sql query works properly.

 

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

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: powerbi service refresh failed to modify the connection string due to "%s"

Hi @fmilidoni ,

 

Have you used fuzzy queries in the sql query defined in the source?( like "select a,b from table where table.a like '%s%'" )
You could check if sql query works properly.

 

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

View solution in original post

Highlighted
New Member

Re: powerbi service refresh failed to modify the connection string due to "%s"

Hi ,

I am using AWS Redshift as a databource as ODBC connection. I am getting same error while configuing Incremental Refresh. I have created RangeStart and RangeEnd Parameters as datetime column. In the dataset I added the filter to use the start and end parametrs. I have enabled incremental refresh sucessfully on my desktop but after publishig to Power BI service, I am getting this error after waiting for 5 hours "Parameter substitution failed with following error: 'Failed to modify the connection string due to error "%s"'. " I don't have any fuzzy queries at all in the dataset. 

 

 

 

Helpful resources

Announcements
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors