Hi,
I have problem with below query in query designer.
WITH MEMBER [Q1 Metric] ASIIF(LEFT([Fiscal Year Quarter].currentmember.membervalue, 2) = "Q1",
[Measures].[Actual Revenue Asia], null),
FORMAT_STRING = "Standard",
VISIBLE = 1
MEMBER [Q2 Metric] AS
IIF(LEFT([Fiscal Year Quarter].currentmember.membervalue, 2) = "Q2",
[Measures].[Actual Revenue Asia], null),
FORMAT_STRING = "Standard",
VISIBLE = 1
MEMBER [Q3 Metric] AS
IIF(LEFT([Fiscal Year Quarter].currentmember.membervalue, 2) = "Q3",
[Measures].[Actual Revenue Asia], null),
FORMAT_STRING = "Standard",
VISIBLE = 1
MEMBER [Q4 Metric] AS
IIF(LEFT([Fiscal Year Quarter].currentmember.membervalue, 2) = "Q4",
[Measures].[Actual Revenue Asia], null),
FORMAT_STRING = "Standard",
VISIBLE = 1
select
{[Measures].[Actual Revenue Asia],[Q1 Metric],[Q2 Metric],[Q3 Metric],[Q4 Metric]} on columns,
NON EMPTY{ {([JBE_D_CALENDAR].[FISCAL_YR].MEMBERS,[JBE_D_CALENDAR].[Fiscal Year Quarter].MEMBERS)}}on rows
from [Model]
WHERE ({STRTOSET(@N_3YearActualScenario,CONSTRAINED),STRTOSET(@N_2YearActualScenario,CONSTRAINED),STRTOSET(@N_1YearActualScenario,CONSTRAINED),STRTOSET(@ScenarioforAsofFiscalYear,CONSTRAINED)},
STRTOSET(@REGION,CONSTRAINED),STRTOSET(@COUNTRY,CONSTRAINED),STRTOSET(@ENTITY,CONSTRAINED),STRTOSET(@LOBGRP,CONSTRAINED),STRTOSET(@SUBLOBGRP,CONSTRAINED),STRTOSET(@LOBOwners,CONSTRAINED),{STRTOSET(@FISCALYR,CONSTRAINED),STRTOSET(@BeginPeriod,CONSTRAINED)})
- Edited by Raviteja G Wednesday, June 17, 2015 9:00 AM