Skip to main content

Posts

Showing posts with the label Data Modelling

Description for everything

Just think of a scenario, you are working on a Power BI report that is created by multiple developers and now you are debugging it. If you have no knowledge of the ins and outs of it you will get jaded by it very soon. But what if you see some description or textual information within the report? That will be the ray of light 💡.  As a best practice, if you are creating any report from scratch try to add a description to almost everything. Starting from the tables, columns, measures, calculation groups, field parameters..... How to do it? Okay, let's start by providing a description of the tables. I am using Sample Superstore data and want to provide a description - Contains sales data. To do so, go to the data model view. Select the table where you need to add the description. Under properties, you can provide a description under the description section. Easy peasy lemon squeezy!! That's basic and at Analyst in Action, we always strive to go beyond the basic knowledge. Let...

Introduction to TMDL

Let's think of a scenario where you have asked to batch edit your long list of DAX, create repetitive measures over and over, copy whole set of measures from one PBIX to another. Until January 2025, if I encounter all those scenarios I always think of some external tools to achieve it. But but but Power BI does listen to you 😂 and now we have TMDL (Tabular Model Definition Language). In today's blog we will explore the capabilities of TMDL.  Before we get started, TMDL is still in Preview features. You need to enable it under your settings and restart your Power BI desktop. You will see an icon for TMDL on the left pane. To learn more about TMDL do visit the detailed article from Microsoft Once you click on the TMDL it will lead to a separate section with all the introductory steps. To start with, we will change the summarise by for all columns from none to sum. Just drag and drop the Sample Superstore table. You can edit the none to Summarise by section for every column to S...