Translate

Tuesday, October 27, 2026

Calculating Min-Max Normalization in Power BI

 Making data comparable is an important step in data analytics. But how do we compare variables that have completely different measurement scales?

Consider a logistics company monitoring revenue, customer complaints, and average delivery time. Revenue is measured in monetary units, complaints are counts, and delivery time is measured in hours. Comparing these metrics directly can be misleading because they operate on entirely different scales.

Similarly, in an educational environment, students may be evaluated through presentations, assignments, and research papers, each carrying different maximum marks.


One way to address this challenge is through Min-Max Normalization.

In my latest article published on SQLServerCentral, I demonstrate how Min-Max Normalization can be implemented in Microsoft Power BI using both DAX and Power Query.

What is Min-Max Normalization?

Min-Max Normalization is a data preprocessing technique that transforms numerical values into a common range, typically between 0 and 1. However, the target range can also be customized, such as 1–5 or 1–10.

The technique uses the minimum and maximum values of a dataset to rescale the original values while preserving their relative distribution.

What does the article cover?

The article provides a practical demonstration of:

  • Understanding the Min-Max Normalization formula.

  • Implementing normalization using DAX calculated columns.

  • Applying Min-Max Normalization through Power Query.

  • Customizing the normalization range (e.g., 1–5).

  • Using normalized values in Power BI visualizations.

  • Incorporating normalized values into gauge visuals for KPI comparisons.

A practical application

Imagine evaluating student performance using three assessment components:

  • Presentation – 10 marks

  • Assignment – 20 marks

  • Research Paper – 70 marks

Comparing the raw marks directly would not provide a fair comparison because each assessment has a different maximum value.

By transforming these marks into a common scale, such as 1–10, we can create more consistent visualizations and support meaningful comparisons across assessment components.

The same approach can be applied to business performance indicators such as sales, customer satisfaction, attendance, and productivity.

Read the full article

If you are working with Power BI, business intelligence, data analytics, or data preprocessing, this practical implementation may be useful.

Read the full article on SQLServerCentral:

Calculating Min-Max Normalization in Power BI

I welcome your thoughts and experiences on implementing data normalization techniques in Power BI and other analytical platforms.

#PowerBI #DataAnalytics #DataNormalization #MinMaxNormalization #DAX #PowerQuery #BusinessIntelligence #DataEngineering

Implementing Type 4 Slowly Changing Dimensions in SQL Server

 Managing historical data efficiently is one of the fundamental challenges in Data Warehousing.

In data warehouse environments, business attributes frequently change over time. While some changes can be handled by simply overwriting existing values, others require maintaining a complete history to support analytical reporting, auditing, and decision-making.


This is where Slowly Changing Dimensions (SCDs) become important.

Although Type 1 and Type 2 SCDs are commonly used in data warehouse implementations, Type 4 offers an interesting alternative, particularly when certain attributes change frequently and current data needs to remain easily accessible.

In my latest article published on SQLServerCentral, I explore the practical implementation of Type 4 Slowly Changing Dimensions in SQL Server.

What does the article cover?

Using a banking scenario involving customer loan repayment statuses, the article demonstrates how Type 4 SCD can be implemented to manage frequently changing customer information.

The implementation covers:

  • Understanding the different Slowly Changing Dimension techniques.

  • Understanding the Type 4 SCD approach and its architecture.

  • Separating current dimension records from historical records.

  • Implementing current and history tables using SQL Server.

  • Managing attribute changes through SQL INSERT and UPDATE statements.

  • Exploring the advantages and limitations of Type 4 SCD.

  • Considering a Mini-Dimension approach as an alternative.

  • Identifying when Type 4 SCD is an appropriate design choice.

Why is this important?

Consider a banking environment where thousands of customers have their loan repayment statuses updated every month. Maintaining every change using Type 2 SCD could result in substantial growth in the dimension table.

Type 4 provides an alternative by maintaining the latest customer information in a current dimension table while preserving previous versions in a separate history table.

This allows operational reporting to access current information efficiently while retaining historical data for risk analysis, compliance, and trend analysis.

Read the full article

If you are working with SQL Server, Data Warehousing, ETL processes, or dimensional modelling, I hope this practical example will be useful.

Read the full article on SQLServerCentral:

Implementing Type 4 Slowly Changing Dimensions in SQL Server

I welcome your thoughts, experiences, and discussions on implementing different SCD techniques in real-world data warehouse environments.

#DataWarehousing #SQLServer #SlowlyChangingDimensions #SCD #DimensionalModelling #DataEngineering #BusinessIntelligence #ETL