Forum Discussion

brendan_w's avatar
brendan_w
Icon for Advocate I rankAdvocate I
8 years ago
Solved

What if Parameter - altering report date error?

Hi,   So I have the following DAX which works perfectly: Daily Tonnage = CALCULATE( [Tonne Food Received], 'Monthly Data'[Date] > TODAY() - 1)   This calculates the tonnage received on today's d...
  • Ashish_Mathur's avatar
    8 years ago

    Hi,

     

    Try this

     

    =CALCULATE( [Tonne Food Received], FILTER('Monthly Data','Monthly Data'[Date] > TODAY() - 'Days Previous'[Days Previous Value] - 1))

     

    Does this work?