Forum Discussion
Setting data bricks data source through the tabular object model c# library
I am trying to create a TOM dataset using XMLA endpoints in powerbi service. I want to import the data from Azure Databricks. I am able to do this in PowerBI desktop through the UI but not sure how to do it through the c# TOM library. The process needs to be automated, so the new dataset is created through code, and the datasource needs to be set programmatically as well. I can see examples of using the provider data source object for SQL Server databases, was hoping someone could point me to documentation/examples on setting a databricks data source as well.
2 Replies
- shaswat-gepNew Member
Looking for same. Hope someone from power bi is able to answer this!
- AnonymousNot applicable
Found a demo online doing the same - https://github.com/algattik/powerbi-tom-databricks/blob/main/GenerateDatabricksTOM/Program.cs