Hi everyone,
I'm new to SSAS and trying to play and set up some cubes. I have this code which shows me passengers for 2012 departures. I want to add third column and sum the first and second columns. But I can't get it to work.
SELECT { (CROSSJOIN([Dep Date].[Calendar Year].&[2012],[Book Date].[Calendar Year].&[2011] )),
(CROSSJOIN([Dep Date].[Calendar Year].&[2012],[Book Date].[Calendar Year].&[2012] )) }
ON 0, NON EMPTY [Fact Lead Pax Report].[Mc Major].MEMBERSON 1FROM [Lead Pax Report]
WHERE { [Fact Lead Pax Report].[Res Status].&[A] }
Also, how can I just count the number of rows in MDX. For example, I have column of number of passengers for each booking. and I want to count the number of booking for the entire year, not the number of passengers. it's automatically count the values from the number of passengers column.
Thanks