Hi all,
I am using power pivot with all relationships created and OK. There is one Dim Table called "date" and another Transaction Table called "pipe".
In "date" table there is a column with full date (DD/MM/YY) and another derived from it called "Year;
In "pipe" table I have same columns;
Relationship was created between Date columns from "date" table and Date column from "pipe" table.
My objective is to set up a Calculated Filed (Measure) called CUMULATIVE ACTUAL BRL that will bring RUNNING TOTAL SALES month by month, but just from the year selected in the pivot table (FILTERS area in Pivot) and not all years <= this year.
In case my explanation is not clear... "pipe" table has sales from 2015 up to April, 2017, but I want to have a calculated field that will bring cumulative sales according to selected year PivotTable filters.
PivotTable Filter = 2017 | Desired Outcome | |
Month Name | ACT. BIL. BRL | CUMULATIVE ACT. BRL |
JAN | 740.085 | 740.085 |
FEV | 507.942 | 1.248.027 |
MAR | 2.708.707 | 3.956.734 |
ABR | 2.489.969 | 6.446.703 |
MAI | 2.269.615 | 8.716.318 |
JUN | 3.017.910 | 11.734.228 |
JUL | 3.300.621 | 15.034.849 |
AGO | 2.242.945 | 17.277.794 |
SET | 1.701.142 | 18.978.936 |
OUT | 1.971.313 | 20.950.249 |
NOV | 1.704.314 | 22.654.563 |
DEZ | 1.222.447 | 23.877.010 |
Grand Total | 23.877.010 | 23.877.010 |
Thank you so much in advance,