Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Create a Measure at a higher level that the report. (Level Metric)

Need to create a measure that is the sum total at the month level.

 

I have a sum(column) at the report level, but I need a sum at the exact month (level metric in microstrategy). That total month sales would not be on the report per-se but used to calculate additional measures.

 

I can't seem to figure out how to achieve this. I found a few postings on this topic, but can't see to find a good answer.

 

MonthRegionSalesTotal Month Sales
Nov-18120110
 220110
 330110
 440110
  110 

5 Replies

  • Anonymous try this

     

    Total = CALCULATE( SUM( Table1[Qty] ), ALLEXCEPT( Table1, Table1[Month] ) )
    • Anonymous's avatar
      Anonymous
      Not applicable

      Probably should have been a little more clear. This is "closer" to what I needed but I need it to "break" by month. But each line to have that "month" total.

       

      MonthRegionSalesTotal
      18-Nov120110
       220110
       330110
       440110
        110 
      18-Dec130150
       230150
       340150
       450150
        150 
          
      • parry2k's avatar
        parry2k
        Icon for Super User rankSuper User

        Anonymous the measure I provided should work, you need to use matrix visual,

         

        add month, region on rows, sales and new measure I provided on value

         

        - turn on stepped layout on format page

        - turn off column total 

        - drill down to region level.