Quantcast
Viewing all articles
Browse latest Browse all 217197

Cumulative Sales only by Selected Year

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 NameACT. BIL. BRLCUMULATIVE ACT. BRL
JAN740.085740.085
FEV507.9421.248.027
MAR2.708.7073.956.734
ABR2.489.9696.446.703
MAI2.269.6158.716.318
JUN3.017.91011.734.228
JUL3.300.62115.034.849
AGO2.242.94517.277.794
SET1.701.14218.978.936
OUT1.971.31320.950.249
NOV1.704.31422.654.563
DEZ1.222.44723.877.010
Grand Total23.877.01023.877.010

 

Thank you so much in advance,

 


Viewing all articles
Browse latest Browse all 217197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>