The syntax remains the same except for the @select you are using.
If you go to the IDT query panel and view the script you will see the MDX query and can compare with the given example. My guess is that your are missing .CurrentMember in your expression.