Forum Discussion
NidhiBhusari
5 years agoHelper IV
Revenue calculation based on Date column
Hi, I need a help in writing a Dax where I want to calculate Revenue based on Date column and revenue value should be for Last three months and next three months.
Anonymous
5 years agoNot applicable
Hi NidhiBhusari , you can use the following approach
Conditional_revenue = CALCULATE(SUM(Revenue),DATEADD([Date Column],-3,Month,DATEADD([Date Column],3,Month)