Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

paulyeo11
Valued Contributor II

How add GL_CODE=50010 , into SET expression

Hi All

My i know how to add GL_CODE=50010 , into below expression :-


Money(RangeSum(
Above(RangeSum(Above(Sum({<year, month>}[Amount]*1), 0, RowNo()))),
-Sum(TOTAL Aggr(Sum({<year, month>}[Amount]*1), YearMonth)))
, $(vMoneyFormatK_GL))

Paul

1 Solution

Accepted Solutions
MVP
MVP

Re: How add GL_CODE=50010 , into SET expression

May be this:

Money(RangeSum(

Above(RangeSum(Above(Sum({<year, month, GL_CODE = {50010}>}[Amount]*1), 0, RowNo()))),

-Sum({<GL_CODE = {50010}>}TOTAL Aggr(Sum({<year, month, GL_CODE = {50010}>}[Amount]*1), YearMonth)))

, $(vMoneyFormatK_GL))

2 Replies
paulyeo11
Valued Contributor II

Re: How add GL_CODE=50010 , into SET expression

My QVF file

MVP
MVP

Re: How add GL_CODE=50010 , into SET expression

May be this:

Money(RangeSum(

Above(RangeSum(Above(Sum({<year, month, GL_CODE = {50010}>}[Amount]*1), 0, RowNo()))),

-Sum({<GL_CODE = {50010}>}TOTAL Aggr(Sum({<year, month, GL_CODE = {50010}>}[Amount]*1), YearMonth)))

, $(vMoneyFormatK_GL))