Is there a way in which we can connect to Power BI dataset in Azure Synapse notebook or Azure Data Factory and execute DMV's, say for example like below:
select * from $System.TMSCHEMA_MEASURES
Is there a way in which we can connect to Power BI dataset in Azure Synapse notebook or Azure Data Factory and execute DMV's, say for example like below:
select * from $System.TMSCHEMA_MEASURES
Copyright © 2021 Jogjafile Inc.
You can use .NET for Spark with NuGet packages, and there's a .NET Core NuGet package for ADOMD.NET.
ADOMD.NET is an ADO.NET provider, and that doesn't natively interop with Spark. So that's the hardest part here. Here's some conversion code you can run in the first cell of your notebook:
Once you have that, you just need to configure your connectionstring and run the query.