Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
markticoy
Partner - Contributor III
Partner - Contributor III

Display only Month-Year Period of the selected Year

Good day mates !

Here again giving out some question cause I don't really know what to do now.

The case is, I have an accumulative pivot table with Month-Year as one of dimension,

image 1.png

What I want is to only show month-year related to the selected year but the accumulated data will be start from beginning of time in the transaction table.

image 2.png

here is my expression for the chart:

RangeSum(Alt(Before([Comparative]), 0),

sum({$<fMonth=,FiscalMonth=,fYear=,FinancialQuarter=,Month=,MonthNum=,Quarter=,Year=,[Posting Date]={'<=$(vMaxDate)'}>}[VAT Ex])

)

1 Reply
Gysbert_Wassenaar

See this document for two possible solutions for your problem: Calculating rolling n-period totals, averages or other aggregations


talk is cheap, supply exceeds demand