Power BI

Previous Year, Previous Month DAX in Power BI

In Power BI, using DAX (Data Analysis Expressions) to calculate Previous Month and Previous Year Sales is a common requirement for time-based comparisons. Here’s how you can create these calculations, using the sample data structure described earlier. Sample Data Structure Assume we have the following columns in our Sales table: We also assume a DateTable […]

Previous Year, Previous Month DAX in Power BI 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 »