1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| WITH member [Dim Employee].[Date Terminated].[DateNone] as '"None"'
Member [Dim Employee].[Date Terminated].[Date Terminated] as
COALESCEEMPTY([Dim Employee].[Date Terminated].[Date Terminated],[Dim Employee].[Date Terminated].[DateNone])
SELECT NON EMPTY { [Measures].[# Employee Distinct] } ON COLUMNS,
NON EMPTY { ([Dim BV Organisation].[Product Line].[Product Line].ALLMEMBERS
* [Dim BV Organisation].[Business Unit].[Business Unit].ALLMEMBERS
* [Dim Employee].[Employee].[Employee].ALLMEMBERS
* [Dim Employee].[Employee Name].[Employee Name].ALLMEMBERS
* [Dim Employee].[Date Terminated].[Date Terminated]
* [Fact TE Details].[TE Details Last Extract Date].[TE Details Last Extract Date].ALLMEMBERS
* [Dim Employee].[Date Started].[Date Started].ALLMEMBERS ) } ON ROWS FROM (
SELECT ( { [Dim Time].[Year].&[2007] } ) ON COLUMNS FROM (
SELECT ( { [Dim Employee].[Home Company].&[00153] } ) ON COLUMNS FROM (
SELECT ( { [Dim Employee].[Employee Search Type].&[E], [Dim Employee].[Employee Search Type].&[X] } ) ON COLUMNS FROM (
SELECT ( { [Dim BV Organisation].[Reporting Line].&[I&F], [Dim BV Organisation].[Reporting Line].&[INF] } ) ON COLUMNS FROM BVOMDW)))) |
Partager