Skip to main content
100%

Gist f90e0dcc12099646652c5dcbc8400a24

✓ Published0🌍 Public
HHugoberry
Last edited Mar 24, 2017
Created on Mar 24, 2017

This example visualizes the live query log of a Power BI tabular model by monitoring the Analysis Services workspace’s in-memory engine. It shows the most recent command and its start time, appending each new entry to a running history. The code uses the Power Query M language, calling `AnalysisServices.Database` to query the `$SYSTEM.DISCOVER_SESSIONS` DMV and `Folder.Files` to locate the `msmdsrv.port.txt` file that defines the dynamic port. The rendered output is a table combining previous and new log records via `Table.Combine`, with no external charting library involved.

AI-generated description

Similar vizzes