Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
PowerRon
Post Patron
Post Patron

How to get SQL Profiler working with Azure SQLDB?

Hi,

We are having a Power BI dataset in the service. The source of this dataset are some Azure SQLdb tables.
PaaS (Platform as a Service) setup.
The daily refresh of this Power BI dataset takes long.
SQL Profiler would be the tool to check the events that are happening. But we can't get it working in this PaaS environment. We used SQLServer, DAX Studio and Azure Data Studio.
So how can I trace query execution, capture events in a PaaS environment?

 

Really hope someone has the answer

regards Ron

3 REPLIES 3
v-chenwuz-msft
Community Support
Community Support

Hi @PowerRon,

 

There are many reasons why datasets can be slow to refresh.
1 Please consider optimizing the model to increase the refresh speed. For example, remove unnecessary columns.
2 Complex or inefficient calculation logic, including RLS roles.

3 Not enough memory

4 CPU saturation

For more details you can refer this official atricles.

Optimize Microsoft Power BI Premium capacities - Power BI | Microsoft Docs

 

Or these links maybe helpful.

SQL Server Profiler in Azure Data Studio (sqlshack.com)

How to use SQL Server Profiler with an Azure SQL Server with AAD integrated security where AAD user ...

 

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

PowerRon
Post Patron
Post Patron

Hi @amitchandak 

The solution you provide doesn't work with Azure SQLDB
SQL Server Profiler and SQL Trace are deprecated.
They say for Azure SQL Database you should use 
Extended Events to capture the queries as far as I know understand. Never used these extended events.

amitchandak
Super User
Super User

@PowerRon , Not very cleat

 

refer

Power BI Premium - XMLA Endpoint - Data Refresh using SQL Server Management Studio: https://youtu.be/kyCnnpjOwpI

 

Power BI Premium - XMLA Endpoint - Using SQL Server profiler: https://youtu.be/Xz83LBgl0Cs

 

 

Using XMLA endpoints to change data sources in a Power BI dataset
https://powerbi.microsoft.com/en-us/blog/using-xmla-endpoints-to-change-data-sources-in-a-power-bi-d...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.