Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
Is it possible to run the same queries that I run in Dax Studio but on a Power BI Desktop?
So at the moment I do this
select * from $SYSTEM.MDSCHEMA_MEASURES
The output it returns on the Results tab is what I want to do within a Power BI Desktop, is it possible to do this and what is the best way of connecting to the Tabular Model and apply the above SQL Statement? What if the Tabular Model is on the Power BI Service can doing what I want still be able to be achieved?
Thanks
If you are using AS tabular model as the datasource, you can only use MDX and DAX query but not SQL query under import mode. You may only use SQL statement for SQL server connector in power bi desktop.
If the model on the power bi service, I guess you are looking to get the power bi dataset which is connected to a AS tabular model, which can only be live connection mode.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Hi,
Thanks for your reply.
I am connecting to a Power BI datasets which this is another pbix document where the Data Source is connect to an Azure SQL Database.
So does mean it is not possible for what I am trying to achieve.
Thanks
User | Count |
---|---|
101 | |
90 | |
78 | |
70 | |
69 |
User | Count |
---|---|
110 | |
96 | |
95 | |
74 | |
71 |