Forum Discussion
Anonymous
8 years agoNot applicable
Tricky DAX Formula
I have this table: I am looking to build a formula that will look back 2 months, gather the sum of revenue for that month, and multiply it by 12 to get my Projected Sum. So hypothetically...
MFelix
8 years agoSuper User
Hi Anonymous,
You should use something like this:
Projected Sum =
CALCULATE (
TOTALYTD (
SUM ( Table[Revenue_Amount_c] );
DATEADD ( Table[Revenue_Date_C]; -2; MONTH )
)
)
* 12
Regards,
MFelix
- Anonymous8 years agoNot applicable
MFelix This displays when trying to add it to a table with other data: