Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Store Measure values in a table

Hi Everyone,

 

We have a report that is refreshed twice everyday, excluding weekends. A measure calculates the total invoice value for the previous day, but is not stored in any data source. I`d like to store this value every day such that only the previous day value is updated after every refresh & other dates/ values are not changed, thereby be able to calculate & display the month to date values.

 

I used the below. The calendar table has dates from 01-01-2020 till 12-31-2030 & the below populates the values on all dates with the current value. I`m not sure how to work with this one.

 

MTD = SUMMARIZE('Calendar','Calendar'[Date], "MTD", CALCULATE([TotalInvoiceValue],FILTER('Calendar','Calendar'[Date] = TODAY()))

 

Thanks in advance

Regards,

Anil

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Anonymous ,

     

    You can't store measure value in a table. You may use calculated column instead.

     

    Best Regards,

    Jay

3 Replies