Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Error with PREVIOUSMONTH - duplicatedates

HI - I am trying to build a new measure which returns the calculated value for the previous month.   This is the initial measure I am working with which returns the correct data:   MeetingsPerDay...
  • Interkoubess's avatar
    8 years ago

    HI Anonymous,

     

    Please create a Calendar table covering your period ( for example 2 years ..) and link this table to your fact table by the date.

     

    Then you can write your measure with the previousmonth function and calendar date.

     

    Hope it helps otherwise give sample data and will help.

     

    Ninter.