To view the MDX code for a dimension or cube in Business Intelligence Development Studio (BIDS):
The MDX code is displayed.