![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a simple MDX query as follows: select {[Sales]} on columns, non empty [Stores].[Stores].[Alberta].children on rows from [Cube] where ([Time].[Calendar].[Day].&[2006-02-02T00:00:00]) and it returns the stores with sales on that day. Now when I replace the "non empty" by "nonempty()" as follows: select {[Sales]} on columns, nonempty ([Stores].[Stores].[Alberta].children) on rows from [Cube] where ([Time].[Calendar].[Day].&[2006-02-02T00:00:00]) I get 0 rows returned. why is that ? |
#3
| |||
| |||
|
|
Forgot to mention: SSAS 2005 SP1. "Pat" wrote: I have a simple MDX query as follows: select {[Sales]} on columns, non empty [Stores].[Stores].[Alberta].children on rows from [Cube] where ([Time].[Calendar].[Day].&[2006-02-02T00:00:00]) and it returns the stores with sales on that day. Now when I replace the "non empty" by "nonempty()" as follows: select {[Sales]} on columns, nonempty ([Stores].[Stores].[Alberta].children) on rows from [Cube] where ([Time].[Calendar].[Day].&[2006-02-02T00:00:00]) I get 0 rows returned. why is that ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |