Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

MDX - Count to return NULL instead of zero

$
0
0
Hi everyone,I have a Count measure that is simply counting over a set as follows:MEMBER Measures.[Count Customers]AS COUNT( EXISTING CurrentCustomers )This query returns the correct result but is returning Zero for the months in the future.. For ex.June-2015 5743July-2015 7690August-2015 0September-2015 0...Is there a way to return NULL instead of zero, so that in the query when I specify NON EMPTY {} ON 1 will automatically not show future months?Thanks!Jon

Viewing all articles
Browse latest Browse all 1341

Trending Articles