Forum Discussion
Net Sales Start from Yesterday
- 6 years ago
You may modify the measure like pattern below:
Net Sales = CALCULATE ( SUM ( 'FactNetSales'[Amount] ), FILTER ( 'FactNetSales', 'FactNetSales'[Year] < TODAY () ) )Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Could you please share some sample data and clarify more details about your requirement?
Regards,
Jimmy Tao
I would like my Net Sales to start calculating from yesterday. From the 26th not the 27th. I am not sure what function to use in order to make this happen. I want to exclude current date going forward so my data wil auto populate to correct sales value.
- v-yuta-msft6 years ago
Community Support
You may modify the measure like pattern below:
Net Sales = CALCULATE ( SUM ( 'FactNetSales'[Amount] ), FILTER ( 'FactNetSales', 'FactNetSales'[Year] < TODAY () ) )Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.