Forum Discussion

kcantor's avatar
kcantor
Community Champion
11 years ago
Solved

Create a measure/calculated field

Greetings, As a new PowerBI user, I am struggling wtih what is probably a simple DAX statement. Of course I have not successfully integrated this into PowerPivot either so all helap is appreciated. ...
  • Anonymous's avatar
    Anonymous
    11 years ago

    Hello,

     

    Create a measure with CALCULATE(SUM([Sales Totals]), SAMEPERIODLASTYEAR([DateColumn])), and then, calculate the variance and %.

     

    Vicenç Lahoz