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

How to replace values if condition is true in Power BI?

Let’s assume that your product team wants to categorize items based on their profit margin. Part of data pre-processing is to replace numerical values with descriptive labels. How can you implement this conditional value replacement to quickly identify high-performing and underperforming products? In this tutorial we will use both Power Query and DAX to replace … Read more

How to group data by year and month in Power BI?

As a data analyst, you’re ofte tasked with analyzing performance for Time-based analysis. In a Sales Analysis use case, you have probably a table with daily sales figures, but you might need to group this data by year and month for a more meaningful trend analysis. In this tutorial we will assume a very simple … Read more

How to convert values to percentages in Power BI

A colleague of mine asked how to convert raw sales figures into percentages of total sales for each product category in Power BI. Below is the step-by-step implementation. Converting whole numbers to percentages in Power BI In many real-life data analysis scenarios, we are asked to convert certain measure values to a percentage format for … Read more

How to filter Power BI columns based on Conditions?

How can I filter a column in Power BI based on specific conditions? I have an HR dataset and need to create reports showing only active employees or those meeting certain criteria. What’s the best approach using Power Query and DAX? Conditionally remove column values in Power Query We’ll explore two powerful methods: Power Query … Read more

How to filter out certain rows in Power BI & Query?

User Question: “I have a large HR dataset with employee information, but some rows contain irrelevant or outdated data. How can I use Power Query in Power BI to filter out these unwanted rows efficiently?” We often spend significant time out of our data analysis project doing data cleaning and preparation in Power BI. This … Read more