Below query is perfectly working and bringing rolling 12 months data for selected measure. Now how do I add one more measure to same MDX query so that query fetch rolling 12 months for 2 measures? Thanks in advance for your help.
Working query with single measure
SELECT
NON EMPTY
{LastPeriods(12,[Time].[By Fiscal Year].[Period].&[Jul-21])} ON COLUMNS
,[Customer].[CustomerName].[CustomerName].MEMBERS ON ROWS
FROM
(
SELECT
[CustomerNamedSet] ON COLUMNS
FROM [CSIS]
WHERE
(
{[Time].[By Fiscal Year].[Period].&[Jul-21]}
,{[Measures].[measure1]}
)
);
Modified MDX query by adding one more measure in where clause (Not working)
SELECT
NON EMPTY
{LastPeriods(12,[Time].[By Fiscal Year].[Period].&[Jul-21])} ON COLUMNS
,[Customer].[CustomerName].[CustomerName].MEMBERS ON ROWS
FROM
(
SELECT
[customerNamedSet] ON COLUMNS
FROM [CSIS]
WHERE
(
{[Time].[By Fiscal Year].[Period].&[Jul-21]}
,{
[Measures].[measure1]
,[Measures].[measure2]
}
)
);
Expected results::