title: MDX calculated dimension attribute
body: <p>Is it possible to create a query scoped dimension attribute (as is done with measures) using the <code>WITH</code> statement.</p>
  
  <p>I'm trying to do something like this:</p>
  
  <pre><code>WITH
  MEMBER [Customer].[Has Child At Home] AS
  IIF( [Customer].[Number of Cars Owned] &gt; 0,
  True,
  False
  </code></pre>
  
  <p>)</p>
  
  <p>And then use the above attribute in a select statement however it is giving me an error saying that the customer dimension has more than one hierarchy and that one needs to be specified. </p>