Forum Discussion
Running Total
The following formulae are displaying each month's respective figure rather than a running total.
"YTD Revenue = CALCULATE(SUM(Table1[Revenue]),FILTER(ALL('Calendar'[Date]),'Calendar'[Date]<=MAX('Calendar'[Date])))"
"LY YTD = CALCULATE([YTD Revenue], SAMEPERIODLASTYEAR('Calendar'[Date]))"
To calculate YoY difference and variance I am using the following:
Difference = [YTD Revenue]-[LY YTD]
Variance % = DIVIDE([Difference],[LY YTD])
A waterfall chart is being used to display the difference, but with above formula I am only getting total revenue of FY 2018.
The formula for variance is displaying previous months' headings with no value.
6 Replies
- v-yulgu-msftMicrosoft Employee
Hi Atif,
Do you want to use a Waterfall chart to display YOY difference or running total? Could please share some sample data and show us the current result you have gotten?
Regards,
Yuliana Gu
- AtifResolver I
The waterfall chart is not a must. I am interested in:
- Running Total;
- YoY Difference; and
- YoY Variance
The option of having a measure each for "YTD Total", "LY YTD", "Difference" and "Variance" will save me from creating 3 separate measures for each year i.e., "FY1
A sample of my data is as under with a lot of hidden columns.
Day Revenue Station BU Sub Category Paper Size Stations Date
Weekday 5,100 Lahore DJL Back Page Panel Jang B (6-10) L Dec/1/2011 Weekday 3,825 Lahore DJL ROP - Announcement Jang B (6-10) L Dec/1/2011 Sunday 3,953 Lahore DJL ROP - Small Size Jang A( 1-5) L Nov/1/2011 Weekday 2,550 Multan DJM ROP - Small Size Jang B (6-10) M Jul/1/2011 Weekday 2,550 Multan DJM ROP - Small Size Jang B (6-10) M Aug/1/2011 Weekday 3,366 Rawalpindi DJR ROP - Small Size Jang B (6-10) R Jul/1/2011 Sunday 5,387 Karachi TNK ROP - Small Size News B (6-10) K Jul/1/2011 Sunday 76,886 Rawalpindi DJR ROP - Prime Display Jang G (Other) R Jul/1/2011 Sunday 10,816 Rawalpindi DJR ROP - Small Size Jang B (6-10) LR Jul/1/2011 Sunday 12,996 Rawalpindi DJR ROP - Small Size Jang B (6-10) R Jul/1/2011 Sunday 77,976 Rawalpindi DJR ROP - Small Size Jang B (6-10) R Jul/1/2011 Weekday 22,572 Rawalpindi DJR ROP - Small Size Jang B (6-10) R Jul/1/2011 Sunday 3,249 Rawalpindi DJR ROP - Small Size Jang A( 1-5) R Jul/1/2011 Sunday 10,816 Rawalpindi DJR ROP - Small Size Jang B (6-10) LR Jul/1/2011 Sunday The data against "Difference" is something like this:
Difference Fiscal Year Comment xxxxxxxxxx FY18 The exact amount is being displayed for current fiscal year 0 FY12 0 FY13 0 FY14 0 FY15 0 FY16 0 FY17 The data against "Variance" is bringing no value
Variance % Fiscal Year 0 FY12 0 FY13 0 FY14 0 FY15 0 FY16 0 FY17 - AnonymousNot applicable
Hi Atif
Just to give an idea you can make use of quick measures it may help you out. refer the image below