$ 0 0 There are spurious spaces in the 2nd Trend script MDX which prevent the KPI from working - replace '[ Calendar' with '[Calendar'