Forum Discussion
Atif
8 years agoResolver I
YTD Revenue Calculation
I have tried the follwoing formula for my YTD Revenue calculation (Fiscal Year based), but I am not getting the running total. YTD Revenue = TOTALYTD(SUM(Sheet1[Revenue]), 'Sheet1'[Date]) I h...
RolandsP
8 years agoResolver IV
Have you created Date table and established correct relationship with the Fact table
Atif
8 years agoResolver I
Yes, I have also tried it, but to no avail.
- Interkoubess8 years agoSolution Sage
Hi Atif,
Could you please share dummy data or show how your data model.
It is not the 'Sheet1'[Date]) but rather the calendar[Date] in the formulae:
You can also try this following one:
YTD Revenue = calculate(SUM(Sheet1[Revenue]), dateytd('calendar'[Date],"6/30"))Ninter
- Atif8 years agoResolver I
hi there Ninter Interkoubess
The data is something like this in table 1
Station Billing Unit Revenue Date Publication Primary Karachi DJK 13,500,000 7/1/17 Jang 72017 Karachi DJK 13,500,000 8/1/17 Jang 82017 Karachi DJK 13,500,000 9/1/17 Jang 92017 Karachi DJK 13,500,000 10/1/17 Jang 102017 Karachi DJK 13,500,000 11/1/17 Jang 112017 Karachi DJK 13,500,000 12/1/17 Jang 122017 Karachi DJK 0 1/1/18 Jang 12018 Karachi DJK 0 2/1/18 Jang 22018 Karachi DJK 0 3/1/18 Jang 32018 Karachi DJK 0 4/1/18 Jang 42018 Karachi DJK 0 5/1/18 Jang 52018 Karachi DJK 0 6/1/18 Jang 62018 Karachi TNK 9,000,000 7/1/17 News 72017 Karachi TNK 9,000,000 8/1/17 News 82017 Karachi TNK 9,000,000 9/1/17 News 92017 Karachi TNK 9,000,000 10/1/17 News 102017 Karachi TNK 9,000,000 11/1/17 News 112017 Karachi TNK 9,000,000 12/1/17 News 122017 Karachi TNK 0 1/1/18 News 12018 Karachi TNK 0 2/1/18 News 22018 Karachi TNK 0 3/1/18 News 32018 Karachi TNK 0 4/1/18 News 42018 Karachi TNK 0 5/1/18 News 52018 Karachi TNK 0 6/1/18 News 62018 Table 2
Primary Date 72011 7/1/11 82011 8/1/11 92011 9/1/11 102011 10/1/11 112011 11/1/11 122011 12/1/11 12012 1/1/12 22012 2/1/12 32012 3/1/12 42012 4/1/12 52012 5/1/12 62012 6/1/12 72012 7/1/12 82012 8/1/12 92012 9/1/12 102012 10/1/12 112012 11/1/12 122012 12/1/12 12013 1/1/13 22013 2/1/13 32013 3/1/13 42013 4/1/13 52013 5/1/13 62013 6/1/13 - Interkoubess8 years agoSolution Sage