Forum Discussion

jcooksnappy1's avatar
jcooksnappy1
New Member
7 years ago
Solved

Prior Period Comparative Dynamic Date Range

Dear PowerBI Community,   I have a very simple table which includes UNITS, and REVENUE but have applied a date range filter to the data.    I would like to add a supplementary column to the table...
  • rafaelmpsantos's avatar
    rafaelmpsantos
    7 years ago

    Lets try this way


    Prior Year Revenue = CALCULATE(sum(Revenue[total_net_lc(exvat)]),DATEADD(Dates[Date],-1,YEAR))