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

How to remove data from tables in Power BI?

Here’s question from a reader: I have a large dataset in Power BI and need to exclude certain records based on specific criteria. How can I remove data from tables using Power Query and from visualizations without affecting the original data source? Filtering data rows for Power BI tables Power BI offers multiple ways to … Read more

How can I filter blank rows from my dataset in Power BI?

When preparing our data for analysis we often deal blank rows which oftern skew our analysis and visuals. Let’s explore how to efficiently filter out these empty entries using both Power BI and Power Query, ensuring your data is clean and ready for analysis. Assumed data model: HR_Data (EmployeeID: Text, Name: Text, Department: Text, Salary: … Read more

How to export a matrix or table from Power BI to Excel?

As a data analyst, you’ve created a dashboard containing tables and matrices. Now, you need to share this data with executives who prefer Excel. Let’s walk through the process of exporting your matrix table using Power BI’s “Export data” feature and then converting it to Excel format. In this tutorial we will assume the following … Read more

Convert Text to Upper, Lower, and Proper Case in Power BI

User Question: “I have name and email columns with inconsistent text formatting in my HR database. How can I standardize the text by converting it to uppercase, lowercase, and proper case in Power BI?” Case transformations in Power Query and Power BI Assumptions We will use the following data model: Table name: EmployeeInfo; Columns: EmployeeID … Read more

How to convert time duration to days, minutes, decimal numbers?

I have employee time tracking data, and I need to analyze and visualize work durations in different formats for reporting purposes. Any idea about how to transform duration data to time units? Get time units from time duration in Power BI This tutorial will guide you through the process of transforming duration data into various … Read more

How to convert dates to Month and Year in Power BI?

I have a dataset with employee performance reviews, including periodical HR review dates. Need to create a visual in Power BI that shows the number of reviews conducted each month and year, without showing the specific day. I’m struggling to group the dates correctly and extract just the month and year information and ideas here? … Read more

How to extract numbers from text strings in Power BI?

Use case I have a column in my database in which i have an employee IDs that is mixed with text (e.g., ‘EMP12345’ or ‘EMPLOYEE12345’ for example). The text length is not fixed. How can I extract just the numeric part in Power BI for further analysis and visualization? Introduction Extracting numeric data from text … Read more

How to convert datetimes in UTC to Local Time in Power BI?

Question I have an HR attendance dataset with UTC timestamps, but I need to display local times in my Power BI reports. How can I convert UTC to local time for accurate reporting across different time zones? Is there a way to handle daylight saving time changes automatically? Introduction Power BI offers robust solutions to … Read more