Skip to content
BI Insight

BI Insight

Learn about data and analytics in Power BI and Microsoft Fabric

  • Home
  • About me
  • Contact me
  • Visit Data Vizioner Now
    • Data Vizioner
    • Data Vizioner Blog
    • Start Using Power BI Documenter Now

Tag: SSAS DMV

BISM Tabular, DAX, Power BI, Power BI Desktop, Power Query, SQL Server Analysis Services - SSAS, SQLite

SSAS Tabular Model Documenter with Power BI without DMVs

SSAS Tabular Documenter with Power BITechnology is growing fast and we are enjoying it. We reshape our daily created data in a form that satisfies our needs. One of the technologies which is used more commonly these days is SQL Server Tabular Models, SSAS Tabular in short. Lots of industries decide to go with SSAS Tabular in their new projects and some defined new projects to slowly switch their existing SSAS Multidimensional to SSAS Tabular. I know, there is a big debate around SSAS Multidimensional vs. SSAS Tabular. But my aim is to prevent going through that sort of discussion. As the title implies, this post is about documentation that I believe is one of the most important parts of every project which is also sacrificed the most. In this post I explain how to document your SSAS Tabular model in Power BI Desktop and Excel. I know, there are some products you can find in the internet that can generate documentation in various formats like Word, PDF, HTML and so on. But, If you’re looking for a free and somehow more intuitive way of documenting your SSAS Tabular Models with Power BI then this article is for you.  Through this article, we create a documentation tool with Power BI. I call it SSAS Tabular Model Documenter. In this method we don’t use DMVs at all. For those who are not familiar with DMVs I shortly explain what DMVs are, if you’re already familiar with DMVs you can jump this section.

You can download a copy of SSAS Tabular Model Documenter in Power BI template format (pbit) at the end of this post. It is a Christmas present for you.

What are DMVs?

Dynamic Management Views, DMVs in short, are queries that retrieve metadata information about an instance of SQL Server Analysis Services. DMVs work on both SSAS Multidimensional and SSAS Tabular server modes. DMVs can be used to monitor server operations and health. The DMV query structure is very similar to T-SQL, therefore you use “SELECT” statement followed by “$System” which is an XMLA schema rowset. The DMV queries look like below:

SELECT * FROM $System.<schemaRowset>

So you can open SQL Server Management Studio, connect to an instance of SSAS (Tabular model for the sake of this post) and run the following query to get lots of information about tables in your Tabular model:

select * from $SYSTEM.TMSCHEMA_TABLES

Running DMVs in SSMSRead more about DMVs here.

Note:This method only works with SSAS Tabular 2016 and above.

Document SSAS Tabular without DMVs

In SSAS Tabular 2016 and above there is a tiny metadata database that can be loaded in Power BI Desktop or Excel to document the corresponding SSAS Tabular model. The database is a SQLite database. In the previous post I explained how to visualise SQLite data in Power BI. The requirements for this post are the same as the previous post, so I encourage you to check it out. Therefore, I just explain how to find the metadata file and how to build a model in Power BI Desktop. I also explain how to do the same in Excel for those of you who would like to add some annotations or comments to the outcomes.

Continue reading “SSAS Tabular Model Documenter with Power BI without DMVs” →

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • More
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...
December 12, 2017October 12, 2023BI, Business Intelligence, Data Management Views, Data Visualization, Dataviz, DAX, DMV, DMVs, Dynamic Management Views, M, Metadata, MSBI, Numeric DateTime, ODBC, Power BI, Power BI Desktop, Power Quey, Query Parameter, Schema Query, SQLite, SSAS, SSAS DMV, SSAS Metadata, SSAS Tabular, SSAS Tabular DMV, SSAS Tabular Documenter, Tabular 2016, Tabular DMV, Tabular Documenter, Tabular Metadata, Tabular Object Model, Tabular Schema Query, TOM, Unix Epoch, Unix Timestamp3 Comments
Soheil Bakhshi Microsoft Data Platform MVP

Order a Book Here

Expert Data Modeling with Power BI, Second Edition
Expert Data Modeling with Power BI, 2'nd Edition
Expert Data Modeling with Power BI
Expert Data Modeling with Power BI

Free Ebook

Power BI For Intermediates; A Step-by-Step Training Guide, Soheil Bakhshi
A collaboration with Theta NZ Team
MCSE Badge
MCSA Bagde

Get in touch

  • YouTube
  • LinkedIn
  • Bluesky
  • Twitter
  • RSS Feed
  • Link

Subscribe

Categories

Recent Posts

  • Microsoft Fabric: Revealing Cost-Saving Results from Automating Pause & Resume Fabric Capacity
  • Microsoft Fabric: Unlocking the Secrets to Mastering Shared Semantic Models – Part 2 – Implementation
  • Microsoft Fabric: Unlocking the Secrets to Mastering Shared Semantic Models – Part 1 – Core Concepts
  • Separate Your Power BI Versions: How to Change Icons in Windows 11
  • Power BI Desktop Versions Demystified: Part 2, Store vs. Download Version – Key Differences and Use Cases

Follow me on Twitter

Tweets by _SoheilBakhshi

AAS Azure Azure Analysis Services Data Data Model Data Modeling Data Modelling Data Preparation Dataset Data Transformation Data Visualization Dataviz DAX Excel Fabric Fabric Autoscale Fabric Capacity Governance M Microsoft Fabric Pay-as-you-go Power BI PowerBI Power BI Admin Power BI Designer Power BI Desktop Power BI Premium Power BI Premium Capacity Power BI Service PowerPivot PowerQuery Power Query Premium Capacity Query Parameters Report Scale down Scale up Semantic Model SQL SQL Server SSAS SSAS Tabular SSMS T-SQL Tabular

Privacy Policy

%d