Académique Documents
Professionnel Documents
Culture Documents
&[NPCTP])= 0, NULL,
(([Measures].[Value],[Indicator Unit Types].[Indicator Unit Type].&[Student]) /
([Measures].[Value - Fact Attributes],[Attributes].[Code].&[NPCTP])) )
SELECT
{ [Measures].[Total Number of declarations],
[Measures].[Weight Net], [Measures].[Value (EUR)] }
ON COLUMNS,
NON EMPTY
{ [Trailer Number].[REGOZPR].[REGOZPR].ALLMEMBERS}
*
{[Loary Number].[REGOZPS].[REGOZPS].ALLMEMBERS}
--{ [Time 38232].[Month Of Transaction]}
ON ROWS
FROM [3_2]
WHERE (
--[Time 38232].[Month Of Transaction].&[2012-12],
[Time 38232].[Day Of Transaction].&[2012-12-01T00:00:00],
--[Customs House].[LONG NAME].&[ 11029 - CARINSKA ISPOSTAVA LUKA BEOGRAD],
[Customs House].[Hierarchy 1].[CACA].&[ 17 - C-CA KRAGUJEVAC].&[ 17345 -
CARINSKA ISPOSTAVA SMEDEREVO]
,[COMPANIES].[Company Tin].&[102011962],
-- [Type Of Declaration Dim Nq].[VRSTADEKL].DEFAULTMEMBER
[Type Of Declaration Dim Nq].[VRSTADEKL].&[]
)
http://ucv-bi06/Dashboards/Forms/AllItems.aspx
SELECT
{ [Measures].[Value (EUR)], [Measures].[Total Number of declarations]
-- [Measures].[TEST]
}
ON COLUMNS,
NON EMPTY
{[Trailer Number].[REGOZPR].[REGOZPR].ALLMEMBERS}
*
{[Loary Number].[REGOZPS].[REGOZPS].ALLMEMBERS }
--{ [Time 38232].[Month Of Transaction]}
ON ROWS
FROM [3_2]
WHERE (
[Time 38232].[Month Of Transaction].&[2012-12],
--[Time 38232].[Day Of Transaction].&[2012-12-01T00:00:00],
--[Customs House].[LONG NAME].&[ 11029 - CARINSKA ISPOSTAVA LUKA BEOGRAD],
[Customs House].[Hierarchy 1].[CACA].&[ 17 - C-CA KRAGUJEVAC].&[ 17345
- CARINSKA ISPOSTAVA SMEDEREVO],
[COMPANIES].[Company Tin].&[102011962]
-- [Type Of Declaration Dim Nq].[VRSTADEKL].DEFAULTMEMBER
--[Type Of Declaration Dim Nq].[VRSTADEKL].&[]
)
http://connect.microsoft.com/SQLServer/feedback/details/448127/mdx-needs-a-
special-division-by-zero-operator
----------------
SELECT
{ [Measures].[CENA], [Measures].[CAROSN], [Measures].[TEST]
}
ON COLUMNS,
NON EMPTY
{[Decl Type Dim Nq].[VRSTAISP].Allmembers }
ON ROWS
FROM [325]
WHERE (
-- 100000266 102011962