Forum Discussion

oazk's avatar
oazk
Frequent Visitor
6 years ago
Solved

Scheduled Refresh and Python script for data transformation

Hello,

 

I created a report that uses Python script to add new column on my existing dataset.

import pandas as pd
dataset["TEST"] = 1

When i refresh data in Desktop, everything is ok, but when i upload report on my Reporting Server and set scheduled refresh it didn't worsk, i got this error:

The import Python.Execute matches no exports. Did you miss a module reference?. The exception was raised by the IDbCommand interface

 And status of my schedule:

Data source error: Login failed for data source ‘Unknown’.

I have installed Python on my server, when I refresh report in Desktop on my server it works fine. That happens with any simple Python script.

Can someone help me with that issue?

  • Python scripts and visuals are not supported on Power BI Report Server.  You can develop those components within PBI Desktop, but that is all you can accomplish at the moment.  For Python support, you'll need to move your report into the cloud.

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    This is highly discouraging.  Very bad, Microsoft!!

  • Python scripts and visuals are not supported on Power BI Report Server.  You can develop those components within PBI Desktop, but that is all you can accomplish at the moment.  For Python support, you'll need to move your report into the cloud.