Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

problem with the Incremental refresh with the Power BI

Hi,

 

In connector that has one entry point:

[DataSource.Kind="Solar", Publish="Solar.Publish"]

shared Solar.Contents = () =>

 

I tried to add a parameter to this root function like

shared Solar.Contents = (optional RangeStart as datetime) =>

and use this parameter in our code

 

This seems as compiled successfully, which is great, and lead to an option that our connector can get external parameter (like RangeStart that we can declared in Power Query Editor Manage Parameters)

In Power BI Desktop it works fine when I add the parameter in the call to our connecter:

When I refresh the report – its use the RangeStart value. Which is great also.

 

 

 

 

 

 

 

But – when I tried to publish a report based on this model based on this connector to Power BI service with the RangeStart paraeter – its lead to not working dataset – and raise an error

 

 

 

 

If I remove the parameter from the root, the error does not raised

 

I haven’t set the incremented refresh on the model yet, but even when I add incremented refresh setting – its lead to same error.

 

What am I missing?

 

Thanks,

 

 

 

5 Replies