DAX

Dateadd Function DAX Power BI with Examples and Visualization

The DATEADD function in DAX (Data Analysis Expressions) is used to shift a set of dates by a specified interval. This function is particularly useful for creating measures that compare data across different time periods, such as month-over-month or year-over-year comparisons. Syntax DAX Common Use Cases Example 1: Previous Month Sales To calculate sales for …

Dateadd Function DAX Power BI with Examples and Visualization Read More »

Power BI, Year-to-Date (YTD), Month-to-Date (MTD), and Quarter-to-Date (QTD) calculations

In Power BI, Year-to-Date (YTD), Month-to-Date (MTD), and Quarter-to-Date (QTD) calculations are commonly used to analyze cumulative data up to a specific point in time within a given period. These time intelligence functions are particularly useful for comparing performance over similar periods. Below is an explanation of how to calculate YTD, MTD, and QTD using …

Power BI, Year-to-Date (YTD), Month-to-Date (MTD), and Quarter-to-Date (QTD) calculations Read More »

What is Row Context and Filter Context in Power BI DAX Tutorial

In Data Analysis Expressions (DAX), used primarily in Microsoft Power BI, Power Pivot, and Analysis Services, understanding row context and filter context is fundamental to creating effective and efficient measures and calculations. Here’s a detailed explanation of each: Row Context Row context refers to the context within a row of a table. When you use …

What is Row Context and Filter Context in Power BI DAX Tutorial Read More »