Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
I have below work fine :-
GL_CODE = {50057}
Because i need to add one more number , so i try :-
GL_CODE = {50057}&{50053}
Money(RangeSum(
Above(RangeSum(Above(Sum({<year, month, GL_CODE = {50057}&{50053}>}[Amount]*1), 0, RowNo()))),
-Sum({<GL_CODE = {50057}&{50053}>}TOTAL Aggr(Sum({<year, month, GL_CODE = {50057}&{50053}>}[Amount]*1), YearMonth)))
, $(vMoneyFormatK_GL))
it does not work.
Paul
May be this:
Money(RangeSum(
Above(RangeSum(Above(Sum({<year, month, GL_CODE = {50057, 50053}>}[Amount]*1), 0, RowNo()))),
-Sum({<GL_CODE = {50057, 50053}>}TOTAL Aggr(Sum({<year, month, GL_CODE = {50057, 50053}>}[Amount]*1), YearMonth)))
, $(vMoneyFormatK_GL))
my QVF
May be this:
Money(RangeSum(
Above(RangeSum(Above(Sum({<year, month, GL_CODE = {50057, 50053}>}[Amount]*1), 0, RowNo()))),
-Sum({<GL_CODE = {50057, 50053}>}TOTAL Aggr(Sum({<year, month, GL_CODE = {50057, 50053}>}[Amount]*1), YearMonth)))
, $(vMoneyFormatK_GL))