title: Mdx Queries calculate Percentage
body: <p>I have the following msx query to calculate the percentage daily for the current month:</p>
  
  <pre><code>with member [Measures].[Percent] as ([Date].[Day].currentmember,
              [Measures].[Number of Calls]) / 
              ([Date].[Month].currentmember, [Measures].[Number of Calls])
              ,format_string = "percent"
  
  select {[Measures].[Number of Calls],[Measures].[Percent]} on columns,
  
  nonempty({[Date].[Month].children} * {[Date].[Day].children}) on rows 
  
  from [Cube]
  </code></pre>
  
  <p>but this is not giving me the real percentage, it's giving me 100% for all records
  is there anything wrong in my query?</p>