Hello,
I am trying to create a widget that is a line chart comparing running totals of contributions by fiscal week from 2 years ago, last year, this year, and a goal line for this year.
Ideally, I would have the below widget with an additional line for 2020 goal:
I created a similar widget based on one of Chris Wallingford's February NYCTUG examples.
The below filters on Contribution Date - Date in Weeks, selecting only the weeks of this Fiscal Year. My X axis is Weeks in Date, and then I have 3 values:
1. This Year Actual
2. This Year Goal
when [Min Fiscal Week Of Year] = 2 THEN 205,000
(and so on)
ELSE NULL END
3. Last Year Actual
Can anybody help me RSUM last year's actuals in the second example?
I get an error with RSUM (([Total Amount], Prev([Weeks in Date],52))
I get the below with (RSUM([Total Amount]), Prev([Weeks in Date],52)), which I think is summing all of last year's giving plus this year's.
I am also wondering if there is a way to use Fiscal Week instead of Calendar Week in the second widget, especially since it doesn't look like I can select future weeks in my filters. I guess I am looking for a kind of combination of the two widgets.
Thanks for your help! I am happy to share the Dashboard as well if that's useful.
Kelsey
Hi Kelsey - I think you have one too many brackets ... take the one out after [total amount]
RSUM ([Total Amount] , Prev ( [Weeks in Date] , 52 ) )
Thanks, Heath. When I use that formula, I can an "Error Querying ElastiCube" - an unknown error has occurred.
I'm getting this on all my reports as of March, including the canned Contributions dashboard. Anyone else?
For (RSUM( [Total Received Amount] ), Prev ( [Weeks in Date],52) ) I get the 2019 curve shifted 52 weeks forward
Here it is with and without
Hm, might it be something with my date filters that doesn't like the formula? I am trying to get those 2 lines on your examples overlapping with each other instead of side by side.
might be worth a ticket