Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
Business Intelligence 6
SQL Server 2012 5
Azure 3
SQL Server 3
Data Warehousing 3
Cloud 2
MDX 2
SharePoint BI 2
Tabular 2
Uncategorized 1

Archive · View All
March 2012 5
November 2011 4
February 2012 4
May 2012 3
July 2012 1
December 2011 1
January 2012 1

Simran Jindal's Blog

NonEmpty() versus NON EMPTY

Mar 26 2012 12:00AM by simranjindal   

This post is in continuation to my MDX techniques series.  To continue further, it is important to understand the difference between NonEmpty() function and NON EMPTY keyword as we would be using them a lot in the future.

Both the NonEmpty() function and NON EMPTY keyword are used to reduce sets but they do it in completely different ways.

The NON EMPTY keyword removes empty rows or columns or both, depending on the axis on which it is used in the query.  This means three things:

  1. NON EMPTY keyword is used only on the axes.
  2. NON EMPTY keyword is highly dependent on the members on axis and their values in columns and rows.
  3. NON EMPTY keyword pushes the evaluation of cells to an early stage wherever and whenever it is possible. This procedure brings a reduced set on the axis giving a huge performance advantage.

The NonEmpty() function on the contrary  can be used anywhere in the query. The NonEmpty() function removes all the members from its first set where the value of one or more measures in the second set is empty. If there is no measure specified, the function is evaluated in the context of the current member. This means that the NonEmpty() function is highly dependent on the members in the second set, the slicer or the current co-ordinate.

Hope this clarifies the distinction between the two available ways of reducing result sets.



Republished from Simran Jindal's Blog [4 clicks].  Read the original version here [1 clicks].

simranjindal
390 · 0% · 102
1
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

"NonEmpty() versus NON EMPTY" rated 5 out of 5 by 1 readers
NonEmpty() versus NON EMPTY , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]