How to remove rows based on value in Power Query?

Here’s a question from our Facebook group: I have a Power BI dataset with employee information, but I need to remove rows where employees have left the company. How can I use Power Query to filter out these rows based on a ‘Status’ column? Filter Power Bi rows based on column values Filtering out irrelevant … Read more

How to check if cells contain null values in Power Query?

I’m working with employee data in Power BI and need to identify missing values in certain columns. How can I use Power Query to check for null values and handle them appropriately? Checking for Null Values in Power Query This tutorial will guide you through the process of identifying and handling null values in Power … Read more

How to create dynamic titles based on filter selection in Power BI?

Our challenge for today is to help create a dynamic title in Power BI that changes based on filter selections. Change report title text based on selection Data Preparation Create dynamic measures Last, go ahead and combine measures into a dynamic title: Explanations to comprehend the DAX code: Add a card visual to your Power … Read more

How to create a dynamic data filter in Power BI?

Here’s a question from a friend’s colleague:“How can I create a dynamic top N filter in Power BI to show the top performing employees based on sales, where N can be changed by the user?” Power bi dynamic filters based on selection In this tutorial, we’ll create a dynamic top N filter in Power BI … Read more

How to replace null values in Power Query?

Here’s a question from a reader: “How can I replace null values in my data using Power Query in Power BI?” Null values can distort your data and its analysis. Hence, replacing null values in Power BI is a key part of the data preparation process. This tutorial demonstrates how to use Power Query to … Read more

How to merge tables based on two columns in Power BI?

User Question: “How can I join two tables in Power Query based on matching values in two different columns?” Joining tables based on matching values in Power Query Data Preparation We will use a data model that includes the following tables: Step-by-step instructions Note that you can join two or multiple tables according to more … Read more

How to create a rolling 12-month average in Power BI?

Here’s a question from a colleague: “How can I create a rolling 12-month average measure to calculate employee turnover rate using Power BI?” Rolling average measures in Power BI Data Model Let’s start by assuming the following data model:Table: EmployeeTurnoverColumns: DAX for rolling measure in Power BI Explanation The DATESINPERIOD function creates a table of … Read more

How to create a fiscal year calendar in Power BI?

Here’s a question from a colleague:In our HR department, we often need to report based on our company’s fiscal year, which runs from April 1st to March 31st. How can I create a custom calendar table in Power BI to support our fiscal year reporting? Setup a fiscal calendar table in Power BI Creating a … Read more

How to convert text columns to dates in Power Query?

Converting your data to different types is a common (and time consuming :-)) task in data transformation. Power Query provides simple methods to handle conversion, enabling simpler and more performant ETL processes for subsequent analysis. In today’s post we will show to extract date values from text or string data. Converting Text to Date in … Read more

Scaling Pandas – Forty tips for better Data Analysis

Pandas – Python’s most powerful Data Analysis library, is more than just a data manipulation tool – it is resource rich in features that many overlook. This article reveals 40 of such features. We will demonstrate every capability using some fictitious HR data to highlight their practical use. Let’s get started. We will organize the … Read more