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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
KRONOS
Frequent Visitor

Publishing reports with gateway

 

My problem is the following, I have 200 reports in power bi desktop with a data source and I need to publish using a gateway  on premise in the production environment that has a data source different from my reports and can not be changed. My question is, do I have to change the data source of my reports one by one to match the data source of the gatewat on premise or do you know another way to do this?

Why change one by one the data source of the 200 Reports is a job that takes time, if there is a way to do this I would appreciate it a lot.

 

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @KRONOS,

 

Based on my understanding, you already have a data source created under on-premise data gateway, but it's different from the data source used in those 200 reports, right?

 

In your scenario, you can create a new data source which use the same connection information under data gateway again. See: Add a data source. After publish the report to Power BI service, go to dataset settings, configure the data gateway to use this data gateway.

 

Best Regards,

QiuyunYu

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

Thanks for you atention, but i can't create a new data source, I should use the one that is configured by client policies..  I'm investigating power bi api rest

http://docs.powerbi.apiary.io/#reference/datasets/update-all-connection-strings

 to update the dataset but the code does not work for me, I do not know how to perform the post method

Hi @KRONOS,

 

Is it possible that you can let data gateway administrator create a new data source? If it can be done, everything should be easy.

 

Regarding using Power BI rest API, it's a developer section, you can refer to Eric_Zhang post in your other thread: http://community.powerbi.com/t5/Service/Power-BI-Rest-API-Update-All-Connections/m-p/242288

 

If you have any other question regarding Power BI Rest API, you can post a question in Developer forum.

 

Best Regards,
QiuyunYu

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors