Extract Parts of a Text Value in Power BI using a Delimiter: Power Query Transformation

If you have a text field and you want to extract a part of that text field, there are multiple ways to do that. You can do this using the SUBSTRING function in DAX. However, These types of actions are better to be done using Power Query transformations. Fortunately, Power Query is very easy and Read more about Extract Parts of a Text Value in Power BI using a Delimiter: Power Query Transformation[…]

Get a field value from a related table in Power BI: DAX RELATED Function Explained

Sometimes, in Power BI, you need to access a field’s value from another table that somehow is related to the existing table. You can use Power Query transformations such as combining Merge with something else. However, this can be needed when you write a DAX expression too. In this article and video, I explained a Read more about Get a field value from a related table in Power BI: DAX RELATED Function Explained[…]

Document the Power BI Tenant objects: Workspace, reports, datasets, dataflows with no code

Previously I explained how you can document a single Power BI file. Another very common documentation requirement is to find out what objects, workspaces exist in the Power BI tenant and document them all. even you may want to download all the PBIX files from the service and keep it for versioning purposes. In this Read more about Document the Power BI Tenant objects: Workspace, reports, datasets, dataflows with no code[…]

FILTER Function in DAX and Power BI: Apply Custom Filter to Calculations

You can apply filtering to visualization elements. However, sometimes filtering has to be done on specific calculations. This can come in handy especially when you want to compare values of other items with specific items. In this article and video, I’ll explain how to use the FILTER function in DAX to apply a custom filter Read more about FILTER Function in DAX and Power BI: Apply Custom Filter to Calculations[…]

How to Reduce the Size of Power BI file in a few Steps

One of the performance considerations of a Power BI file is to reduce the size of it as much as possible. This also helps with the speed of development, because smaller files loads faster and easier in the Power BI Desktop. One way to reduce the size significantly is to find which columns are consuming Read more about How to Reduce the Size of Power BI file in a few Steps[…]

Month over Month Calculation in Power BI using DAX

When working with dates, one of the common types of analysis is period vs period, such as Year over year, and Month over month. In this article and video, I’ll explain how you can use DAX to write calculations for month-over-month simply in any Power BI report. Video What is a month-over-month calculation? Month over Read more about Month over Month Calculation in Power BI using DAX[…]

Export the Data of a Power BI table entirely in a few Clicks

If you want to export the data of a Power BI table, you have options such as copy and paste, or putting it in a visual and export it. However, there is an easier way available too. You can use Power BI Helper (free tool) to export the entire data of the table. The instruction Read more about Export the Data of a Power BI table entirely in a few Clicks[…]

Document a Power BI file and report in a few clicks: all DAX code, visualization, Power Query scripts

In this article and video, I’ll share with you how to document everything from a Power BI file in a few clicks. The document output will have all the DAX code (measures, columns and tables) with the expressions, the tables with the Power Query scripts, information about visualization such as how many pages, bookmarks, visuals Read more about Document a Power BI file and report in a few clicks: all DAX code, visualization, Power Query scripts[…]

TOPN DAX Function: How it works in Power BI? Comparison against the top group

TOPN is a function in DAX that gives you the ability to select the top items from a table based on an expression. In this article and video, I’ll explain how to use the TopN function in DAX either to create a calculated table or to use it in a measure to achieve analysis such Read more about TOPN DAX Function: How it works in Power BI? Comparison against the top group[…]

Showing Ranking in a Visual in Power BI using RANKX DAX function

If you want to show the ranking in a Power BI visual, one way is to use a visual that supports that, such as a Ribbon chart. Another way, which is a more common way, is to write a calculation for rank, and RANKX is a DAX function that can help you with that. In Read more about Showing Ranking in a Visual in Power BI using RANKX DAX function[…]