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

Implementing Fill Up and Fill Down in DAX
In this blog let's take a look at how you can Fill blank cells with values before or after them also know as Fill Up or Fill Down in various tools.
Antriksh Sharma
3 days ago3 min read
303
0

Fixing Lineage issue when JOIN-ing tables in DAX
DAX has 2 functions that allow you to JOIN tables and columns i.e. NATURALINNERJOIN & NATURALLEFTOUTERJOIN, although there is no...
Antriksh Sharma
Nov 21, 20242 min read
169
0

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
272
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,046
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,768
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,616
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
424
0

Complex behaviour of slicers in Power BI
Recently I faced a situation where a simple measure such as COUNTROWS was returning a blank, yeah what's up with that? COUNTROWS...
Antriksh Sharma
Apr 29, 20223 min read
636
0

Full Outer Join in DAX in Power BI and SSAS Tabular
DAX language of Power BI and SSAS Tabular doesn't have a function for Full Outer Join so in this blog we are going to see a work around...
Antriksh Sharma
Mar 28, 20225 min read
3,771
0

Getting started with Aggregations in Power BI - Part 1
In this article let's take a look at how to get started with aggregations feature in Power BI. I will try to explain aggregations in a...
Antriksh Sharma
Mar 10, 20227 min read
651
0

Storing a column as String or Integer in Analysis Services
Recently someone asked a question that whether they should store a column in a Tabular model in String or Integer format and in this...
Antriksh Sharma
Dec 20, 20212 min read
507
0

Dependency of a function on Row Context in DAX
Have you ever writen a piece of DAX Code that looks like this: and ended up confused how is it able to calculate how many years, days,...
Antriksh Sharma
Nov 18, 20214 min read
643
0

Tabular Editor 3 Course
TE3 is the ultimate development tool for creating Tabular Model and recently I got an opportunity to make a full fledged course on it for...
Antriksh Sharma
Sep 16, 20211 min read
126
0

SUM vs SUMX in DAX
SUM and SUMX are both aggregation functions in DAX. While SUM allows you to aggregate only one Physical column of a table, SUMX is more...
Antriksh Sharma
Sep 1, 20214 min read
2,220
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,168
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,294
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,755
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
879
0

ADDCOLUMNS Function in DAX for Power BI, Power Pivot and SSAS
ADDCOLUMNS is a DAX table function that allows user to add new columns to the existing data. It has 3 main Arguments Table - The table on...
Antriksh Sharma
May 12, 20214 min read
5,951
0

SQL to DAX: Select/Project Columns
In this blog let's understand the difference between selecting columns in SQL vs DAX, i am using a fairly simple Product table which...
Antriksh Sharma
May 7, 20211 min read
723
1


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,762
0

Why you shouldn't add a 0 at the end of a DAX code
Power BI allows you to create reports easily by bringing columns from multiple tables or from a single table and by putting those columns...
Antriksh Sharma
May 2, 20214 min read
664
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
854
0

Extract numbers from an alphanumeric string using DAX
Extracting numbers from an alphanumeric string like "b52h1l1h8gyv3kb7qi3" and then summing or just concatenating those values is really...
Antriksh Sharma
Apr 16, 20215 min read
12,176
0
bottom of page