cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI refresh job task

alesventus
Contributor

I have tried Databricks job task to refresh power bi dataset and I have found 2 issues.

1. I set up tables in Power BI Desktop using Import mode. After deploying the model to Power BI Service, I was able to download it as an Import mode model. However, after running the first Databricks job with a Power BI task, I could no longer download the report in Import mode—only as a copy with a direct connection. I suspect this happened because the Databricks job modified the Power BI model via XMLA.

Databricks job setup

alesventus_0-1765874332890.png

2. I was unable to refresh a Power BI model that included a Rename Column step in Power Query. When I removed this step, the refresh completed successfully.

alesventus_1-1765874393964.png

 Error message:

alesventus_3-1765874486812.png

Column month_number was renamed in the Power BI Desktop (Transform data - Steps) to Month Number.

Does anybody have the same experiences? Is there any workaround for this?

Thanks

 

1 REPLY 1

emma_s
Databricks Employee
Databricks Employee

Hi, 

1. In your job did you update the power bi query mode to import mode before you ran it?

emma_s_0-1765877468938.png

2. If changing to import mode doesn't fix this issue, have you tried renaming in the semantic model rather than in the transform data steps?