Forum Discussion
Consume Power Bi ML model from a .net C# application
- 4 years ago
Understood. Please note that Power BI is designed as a sink, not as a source. If your modeling result would be stored in a calculated column, or if it would be accessible via a measure then you could access it via XMLA endpoint queries. But most likely you use a visual to get the result and I am not sure if the visual Query exposes that data.
What prevents you from running your own ML model on your data?
This is my scenario. I developed a web application with it's database.
I loaded my data from application DB into Power Bi and trained a model to predict one of the fields of my DB.
Now I would like to use the model inside my application so that, when the application user adds a new record I can give him the predicted value based on the variables of the new data record.
I was hoping to be able to call a webservice from my code, passing the new record to the model and getting back the predicted value...or something like that!
- lbendlin4 years agoSuper User
Understood. Please note that Power BI is designed as a sink, not as a source. If your modeling result would be stored in a calculated column, or if it would be accessible via a measure then you could access it via XMLA endpoint queries. But most likely you use a visual to get the result and I am not sure if the visual Query exposes that data.
- lcarlone4 years agoNew Member
Ok, maybe this is not the right tool to achieve my goal.
Thank you