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

How to fill a column based on other values in PowerBI?

Problem statement:“I’m working on an HR Power BI report and need to fill a column with values based on another column. For example, I want to automatically assign a department to each employee based on their job title. How can I accomplish this using Power BI and Power Query without manually entering each value?” Add … Read more

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