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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
HR3038511
Helper I
Helper I

Data Source Error / Incremental Refresh with Denodo

Hi, 

 

My data set is connected to Denodo. After I activated incremental refresh I get the following error:

 

Data source error: {"error":{"code":"Premium_ASWL_Error","pbi.error":{"code":"Premium_ASWL_Error","parameters":{},"details":[{"code":"Premium_ASWL_Error_Details_Label","detail":{"type":1,"value":"The data source '{\"protocol\":\"x-datasource\",\"authentication\":null,\"address\":{\"kind\":\"DenodoForPowerBI\",\"path\":\"{\\\"DSN\\\":\\\"SERVER=si0vm05540.bsh.corp.bshg.com;DATABASE=vdb_finance_and_controlling;PORT=9996\\\"}\"},\"query\":null}' depends on custom data connector and is not discovered by Power BI services. Please follow steps at https://aka.ms/powerbiCustomConnectorConfig to finish the configuration of on-premise data gateway and data source."}}],"exceptionCulprit":1}}}


In order to set up the incremental refresh I set up the parameter RangeStart and RangeEnd in Power Query. I then use a Query (SELECT * ...) in Power Query to pull the data and to set up the filtering of the date column by the RangeStart and RangeEnd parameter (#"Run Native Query"). My Power Query code looks like this:

 

let
Quelle = Denodo.Contents(Denodo_link, null, []),
vdb_al_plm_Database = Quelle{[Name="vdb_finance_and_controlling",Kind="Database"]}[Data],
vdb_al_plm_Schema = vdb_al_plm_Database{[Name="vdb_finance_and_controlling",Kind="Schema"]}[Data],
#"Run Native Query" = Value.NativeQuery( vdb_al_plm_Database ,"
SELECT * from dv_mendix_mtt_"&Environment&"_reporting_snapimpactdistributionobj WHERE
""changeddate"" >= '" & DateTime.ToText(RangeStart, "yyyy-MM-dd hh:mm:ss") & "' and ""changeddate"" < '" & DateTime.ToText(RangeEnd, "yyyy-MM-dd hh:mm:ss") & "'",null,[EnableFolding=true]),
#"Changed_Type" = Table.TransformColumnTypes(#"Run Native Query",{{"changeddate", type datetime}})
in
Changed_Type

Does anybody know how to fix the data source error?

Thanks!

2 REPLIES 2
Anonymous
Not applicable

Hi, @HR3038511 

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

 

Best Regards

Yongkang Hua

AmiraBedh
Super User
Super User

Check if the Denodo custom connector (Denodo.mez or similar file) is placed in the correct folder:

%USERPROFILE%\Documents\Power BI Desktop\Custom Connectors (for Power BI Desktop testing).

And for Power BI Service: Place the connector in the on-premises data gateway's custom connector folder.

Then you need to configure the On-Premises Data Gateway and enable Custom Data Connectors.

Next step you need to add the data source to the gateway :

  • Go to the Power BI Service.
  • Navigate to Manage Gateways > Select your gateway.
  • Add the Denodo data source:
    • Data Source Type: Custom Data Connector.
    • Configure the connection string, such as:

 

{"DSN":"SERVER=si0vm05540.bsh.corp.bshg.com;DATABASE=vdb_finance_and_controlling;PORT=9996"}

 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.