How to count rows with or without conditions in Power BI?

Here’s a common question in data analysis (details vary per industry), which i’ll answer in this tutorial: “I have a large HR dataset in Power BI, and need to create a simple dashboard showing to count the total number of employees as well as employees meeting some specific criteria. How can I create measures to … Read more

How to change column date formats in Power BI?

User Question: I’m working on a Power BI report for our HR department, and the dates in our employee database are showing up in an unfamiliar format. How can I change the date format to make it more readable for our HR team? Modify datetime formatting in Power BI In this comprehensive tutorial, we will … Read more

How to display last refresh date on my Power BI report?

As Data Analysts, we always strive to ensure our reports and dashboards are up-to-date. Displaying the last refresh date helps users trust the data they’re viewing. In this simple tutorial we will add a card displaying the last refresh time to a Power BI dashboard. As always, we will use a simple data set consisting … Read more

How to combine different columns in Power BI?

As a Data analyst, you often need to bring together cell values from entire columns or part of them. This tutorial will guide you through the process of concatenating multiple columns in Power BI, using a practical HR scenario. In this tutorial we will assume a single table named “Employees” with the following columns: EmployeeID … Read more

How to replace blank cells with text in Power BI?

How can you replace these blank values with the string “Unknown” to ensure all records are accounted for in your regional sales analysis? Replace empty cells with string in Power BI In Power BI, we can easily handle blank values using both Power Query and DAX. We will explore both methods using a fictitious ‘Customers’ … Read more

How to extract values from list of records in Power BI?

User Question: “I have a column in my Power BI table that contains lists of values, say for example, a list of product categories. How can I extract these values into separate rows so that i can analyze my dataset? In Power BI, you often encounter data where multiple values are stored in a single … Read more

How to add rows to an existing Power BI Table?

User Question: “I manage a dashboard showing HR related data in Power BI and need to add new employee data each month without rebuilding the entire dataset. Is there a way to append rows to an existing Power BI table without starting from scratch? Our team wants to maintain historical data while adding new entries … Read more

Power BI Tutorial: Group by Multiple Columns in Power Query

User Question How can I aggregate sales data by both product category and sales region in Power Query? I need to calculate total sales and average unit price for each combination of these two columns. Aggregate data by multiple columns in Power BI Grouping by multiple columns in Power Query allows you to analyze data … Read more

How to replace null values with zeros in Power BI?

A common use case when analyzing campaign performance is to pre-process the data for analysis. As part of the data cleansing, we’ll need to replace null values. The question is how to do it safely, without skewing the data source that will be used in your reports and dashboards. In a nutshell, in Power BI … Read more

How to Add Icons to Tables and Cards in Power BI?

Here’s a question from a colleague: “I’ve created a sales performance dashboard in Power BI, but it looks a bit plain. How can I add icons to my table and card visuals to make the data more visually appealing and easier to understand at a glance?” Adding icons to your Power BI visuals can significantly … Read more