How to Remove Leading Zeros in Power BI

Remove Leading Zeros in Power BI

I was working on a Power BI report, and I noticed that some columns, like Employee ID, Customer Code, or Product Number, were stored as text and had leading zeros, for example, 000123. When I use this column in a report and try to sort or filter the data, I am not getting the correct … read more…

The Best Way to Add Hyperlink to a Text Column in Power BI

How To Add Hyperlink To A Text Column in Power BI

Recently, I was working on a Power BI report for a client. They wanted to create a report for their marketing team, where users can click on a visual and see more information related to that item. In their dataset, they already have a URL column. The requirement was to show this URL in a … read more…

How to Sort Slicer by Another Column in Power BI

Power Bi sort slicer by another column

When we add data to Power BI, we can sort the data in ascending or descending order. But in this case, I want something different. The marketing team wants to see sales data grouped and ordered by Customer Location so they can quickly understand which locations are performing better. To achieve this, we need to … read more…

How to Change Data Type in Power BI?

Change Data Type in Power BI

Last week, when I created a Power BI report for the Finance team, I received the data from SQL. After loading it into Power BI, I noticed that some fields had the wrong data type. For example, a few columns were loaded as text, but they should have been numbers. To change the data type, … read more…

How to Change Data Type in Power BI Using Power Query

How to change data type in Power BI query

While working in Power BI, one of my colleagues asked me, “Is there a way to set the data type when creating a new column in Power Query?” This happened because when we add a column, Power Query does not automatically assign the correct data type. Usually, we first create the column and then change the … read more…

How to Add an Empty Column in Power BI

Add an empty column in power bi

While creating a dashboard for an organization, I realized I needed a few empty columns. To do this, Power BI provides multiple ways to create empty columns, depending on whether you’re working with DAX or Power Query. In this tutorial, I will show you all the practical methods to add an empty column in Power … read more…

Count Data With Multiple Filter Conditions in Power BI DAX

multiple filters with the CALCULATE FUNCTION Power BI

We are working on a report for our client, and during the discussion, one of my colleagues asked me a question. They wanted to calculate how many customers placed an order in the last 30 days, for a specific product category, and whose total purchase amount is above 10,000. I told them we can easily … read more…

How to Filter Power BI Dax Based On Condition

Power bi DAX filter based on condition multiple conditions

A few days ago, I was working on a Power BI report where the client needed some special filters. They wanted to see sales above a certain number, show only active records, and apply more than one condition at the same time using DAX. The normal Power BI filters could not do this, so I … read more…

How to Filter Dates in Power BI DAX [7 Examples]

Power BI DAX filter datediff

A few days ago, I was creating a dashboard for a client where they needed to analyze their data using different date conditions. They wanted to see records greater than a certain date, compare data before a specific date, and even view trends between two selected dates. Since these filters had to work dynamically inside … read more…

Power BI Distinct Count with filter [With 5 Examples]

Power BI distinct count with filter

Today, I received an email from a user who wanted to create a DAX measure to count how many distinct companies sold 10 or more items in a week. They wrote a DAX formula like this: Count above 10 =CALCULATE( DISTINCTCOUNT(Table1[Company]), FILTER(Table1, SUM(Table1[Items sold]) >= 10)) But this did not work. The reason is that … read more…

Add Column With a Fixed Value in Power BI

Power BI add column with a fixed value example

While working on one of my Power BI reports, I realized my dataset wasn’t in the format I needed. After applying filters and validation rules, I wanted to add a column with a fixed value for each row. So, I started researching and found that Power BI offers multiple ways to add a fixed-value column, … read more…

Download User registration canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

Power Platform Tutorial

FREE Power Platform Tutorial PDF

Download 135+ Pages FREE PDF on Microsoft Power Platform Tutorial. Learn Now…