Age Calculation
Age Calculation in Power BI using Power Query Power Query has a simple method of calculating the age . However, as DAX is the most popular language used in several functions in Power BI, many do not realize the function available in Power Query. In this article I will describe how simple it is to calculate Age in Power BI with Power BI. This method is extremely beneficial for situations when the computation of an age can be performed on pre-calculated row-by-row basis. Calculate Age from a date Here is the DimCustomer table that is part of the AdventureWorksDW table, which is an age column. I've removed some of the extra columns to make it easier to read. In order to calculate the age of every consumer, all you need is to: In Power BI Desktop, Click on Transform Data In the Power Query Editor window; start by selecting the Birthdate column. Click on the add Column Tab, which is under the "From Date & Time" section, and under Date,...