Report Portal

ISFILTERED: A Better Way to Detect Totals

It's been awhile since I've written a good old honest formulas and techniques post, so I figured today would be a good time to "get my hands dirty" again.

Ever since PowerPivot v1, I've been writing measure formulas that "detect" whether the current pivot cell is a "total" cell (either a subtotal or grandtotal), and then doing something different if it is.

In the image above, my [Blank if Total] measure returns BLANK() for all totals, otherwise it returns the same value as the original [Units Sold] measure.

Read more...

Tags: dax, tabular

 

2007-2015 VidasSoft Systems Inc.