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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
swt
Frequent Visitor

Detailed Lineage Data?

Coming from SAP BusinessObjects, one of the nicest features from an administrative perspective is the existence of add-ons that scrape the SQL queries from all reports on the server and store them in a table. This was key to conducting proactive impact analysis when changes were being made to tables in a database; we could easily query reports that utilize specific tables and fields.

 

Is there administrative functionality in the Power BI service - either native or through add-ons - that would allow us to see the SQL queries generated by every report or dataset, or even just the tables used in every report or dataset? All the better if it's in a single table. 🙂

 

The new lineage view doesn't quite do what we need, as it simply lists the aliased table and query names in a dataset, and it needs to be manually inspected dataset by dataset.

 

In case it's a factor, we're using an on-premises SQL Server database through a data gateway.

1 REPLY 1
GilbertQ
Super User
Super User

Hi there

If your queries are coming from your SQL Server database, I would suggest enabling SQL Server Profiler and logging all the queries into a table on your SQL Server to complete this.

Another option is you could possibly enable verbose logging on your On-Premise Gateway but this could potentially slow down your dataset refreshes.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors