top of page
Power BI | Excel | Python | SQL
Search

Why DAX is returning 100%
In this blog let's take a look at why your DAX calculations are returning 100% instead of a fraction of the grand total. In DAX you can...
Antriksh Sharma
Oct 19, 20243 min read
264
0

Understanding how Time Intelligence functions are evaluated in Row Context
I have been thinking about this for a while, a series of blogs where I try to explain how a particular piece of DAX code works. For this...
Antriksh Sharma
May 16, 20248 min read
1,037
3

Using DETAILROWS with WINDOW functions in DAX
DAX doesn't have the concept of global variables so reusing a piece of code by referencing it somewhere else isn't possible, luckily the...
Antriksh Sharma
Apr 13, 20244 min read
1,758
1

Applying a Filter on Dimension vs Fact in DAX
While working with DAX, a common mistake that anyone makes (that I also made) is to think that applying a filter on a column of a...
Antriksh Sharma
May 10, 20234 min read
3,582
0

ALL Functions vs Security in DAX
One thing that we are used to is ALL functions ignore filters and return either a unique value or complete table when used as a table...
Antriksh Sharma
Apr 28, 20231 min read
409
0

Previous Year calculation in case of missing years in DAX.
One of the most common time intelligence calculations that I see in each report is that of Previous Year, this calculation is pretty easy...
Antriksh Sharma
Aug 3, 20212 min read
1,167
0

How to create Running Total in Power BI: The Basics
In this tutorial lets see how easy it is to create a running total in DAX either in SSAS, Power Pivot or Power BI. Running total is a...
Antriksh Sharma
Jul 12, 20214 min read
8,241
0

Optimizing calculations involving CROSSJOIN in DAX for Power BI, Power Pivot and SSAS.
In this blog I am going to show you how you can optimize a simple measure involving CROSSJOIN and in the process we are also going to...
Antriksh Sharma
May 29, 20215 min read
2,741
0

Inverse SUM in DAX
In this blog let's see how to compute value of the measure for every other value of a column except for the one that is currently visible...
Antriksh Sharma
May 24, 20213 min read
878
0


Circular Dependency between Calculated Columns in a Table in DAX
In this article let's understand what Circular Dependency is and how it can cause issues when creating Calculated Columns in a Fact table...
Antriksh Sharma
May 4, 20215 min read
3,754
0

Compute PARALLELPERIOD without using PARALLELPERIOD in DAX
PARALLELPERIOD is a DAX function that allows you to shift MONTH, QUARTER, or YEAR based on the the dates visible in the filter context,...
Antriksh Sharma
May 1, 20213 min read
853
0

How to create Running Total on Non-Numeric Fields in Power BI using DAX
Creating running totals on a numeric or date field is pretty easy because you always have something that you can use to compare against...
Antriksh Sharma
Apr 9, 20213 min read
2,170
0

How To Exclude Slicer Selection from the result with DAX in Power BI
One of a very common requirement that I have seen is to be able to filter out the selection made in the slicer from a visual such as a...
Antriksh Sharma
Apr 9, 20217 min read
17,681
1

DAX | CALCULATE | March’ 2021 Update
Effective March update of Power BI you can specify different columns in the single filter argument of CALCULATE without writing the...
Antriksh Sharma
Mar 21, 20211 min read
106
0

Thinking Behind Use of KEEPFILTERS in DAX
In this blog let’s understand why you should use KEEPFITLERS more often. Below is the snapshot of the data model ( Contoso Retail Data...
Antriksh Sharma
Feb 23, 20212 min read
659
0

Power BI DAX: Context Transition - Behind the scenes
Context transition — one of the most complex topics to understand and master but have you ever wondered, what actually happens behind the...
Antriksh Sharma
Jan 20, 20215 min read
485
0

Running Totals exclude days from the calculation
Creating a Running Total is pretty simple in DAX, you just take a measure, wrap it inside CALCULATE and then with the help of DATESYTD...
Antriksh Sharma
Nov 22, 20208 min read
1,154
0
bottom of page