Forum Discussion
Problems importing PBIX by means of REST APIs
- Anonymous8 years ago
I cracked it by finally figuring out where I had to look on this board, also taking my inspiration from here. As some of you might know by now, the problem was the Connections file in the pbix zip archive that had to be altered, so that it would containsinformation about the dataset that the report is supposed to be connected to.
Looking into the structure of the connections file, it is nothing more than a hashtable converted to JSON, and if one wishes, the connection can be easily modified by renaming the pbix file to a zip file, unzipping, rewriting the connections file, zipping and renaming again.
I cracked it by finally figuring out where I had to look on this board, also taking my inspiration from here. As some of you might know by now, the problem was the Connections file in the pbix zip archive that had to be altered, so that it would containsinformation about the dataset that the report is supposed to be connected to.
Looking into the structure of the connections file, it is nothing more than a hashtable converted to JSON, and if one wishes, the connection can be easily modified by renaming the pbix file to a zip file, unzipping, rewriting the connections file, zipping and renaming again.
Im having a sililar issue. What did you have to change in the connection file?