SSAS FAQ Reporting Services FAQ How can I build MDX statement as a string and pass it into Reporting Services?
How can I build MDX statement as a string and pass it into Reporting Services?
User Rating: / 0
PoorBest 
Written by Vidas Matelis   
Monday, 23 April 2007 19:29

Q: How can I build MDX statement as a string and pass it into Reporting Services?

A: At first use Query Builder to create initial MDX statement. Then select button "..." that is close to data set. This button will allow you to Edit Selected Dataset. In MDX Query String box you can change MDX statement to string:

="SELECT [Measures].[Orders Count] ON 0 FROM " & "[Adventure Works]"

 

 
Strategy Companion