title: Parametrization of MDX query in SSRS
body: <p>I have such query in MDX:</p>
  
  <pre><code>SELECT NON EMPTY 
  { 
    [Measures].[M1]
  , [Measures].[M2]
  , [Measures].[M3]
  } ON COLUMNS, 
  NON EMPTY 
  {
    [DimensionName].[MemeberName].&amp;[2008/1] 
  } ON ROWS 
  FROM [Cube] 
  </code></pre>
  
  <p>How to parametrize this query in SSRS. I have tried:</p>
  
  <pre><code>SELECT NON EMPTY 
  { 
    [Measures].[M1]
  , [Measures].[M2]
  , [Measures].[M3]
  } ON COLUMNS, 
  NON EMPTY 
  {
    [DimensionName].[MemeberName].&amp;[@ParameterName] 
  } ON ROWS 
  FROM [Cube] 
  </code></pre>
  
  <p>as well as</p>
  
  <pre><code>SELECT NON EMPTY 
  { 
    [Measures].[M1]
  , [Measures].[M2]
  , [Measures].[M3]
  } ON COLUMNS, 
  NON EMPTY 
  {
    [DimensionName].[MemeberName].&amp;[=Parameters!ParameterName.Value] 
  } ON ROWS 
  FROM [Cube] 
  </code></pre>
  
  <p>but as I can see in SQL Server profiler value of it is never set. Any ideas how to do it?</p>
  
  <p>Thank you in advanced.</p>