title: SSAS Calculated measure to show values only for specific dimension values
body: <p>I have a calculated Measure in my SSAS cube, which I want to calculate only for a group of dimension members and for rest it should be zero. In The following image I want MTDOccupancy dimension to work only for Account Groups for Rooms, rest related to food should show zero for this field.
  <a href="https://i.stack.imgur.com/WFC5s.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WFC5s.jpg" alt="enter image description here"></a></p>
  
  <p>following is the simple MDX which I am using for MTDOccupancy measure</p>
  
  <pre><code>([MTDQuantity]/[MTDAvailableRooms])*100
  </code></pre>