Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression help

Dear all,

My pivot table like this,

BCOD CRE_CODE REF_NO PREMUMBRO_COMMBRO_ORCAGE_COMAGE_ORCGRO_COMGRO_ORCDIRECT METOT_COMDIFFTOTAL
BA00C0003990BA0014D002825853035007289000046380
C0005750BA0014D002845427100003735000023800
C0008186BA0014D002834315195002024000012650
BA0014D002848453195007549000048890
DIRBA0014D002824311773001637000010480
BA0014D002834416400002185000013650
6297BA0014D00284542710000000005750
54781BA0014D00284556495000000-16250
Total 183193 0 0 24419 0 0 0 0 16785 0

So I want to calculate "AGE_ORC" for the ME codes.

The expression i used there is shown below. Even the expression shows the status "OK" , relevant calculation not done.

sum({<Cat={'AG'},POSI={ME}>}(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC))/100

Please can any one help me in this regard, Early reply highly appreciated.

Priyantha.

4 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this expression

=sum({<Cat={'AG'},POSI={'ME'}>} (COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC))/100


If not working attach sample file.


Regards,

Jagan.

Not applicable
Author

Dear Jagan,

The same formula i have already applied (see the above post)

jagan
Luminary Alumni
Luminary Alumni

Hi,

It is difficult to give answer without sample file, your expressions seems to be correct, you really have values for this expression?  Check this expression in Text object whether you are getting any value.

=sum( (COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC))/100


If you are getting value then there is no records for Cat='AG', POSI='ME', if possible attach the file.


Regards,

Jagan.

Not applicable
Author

Dear Priyantha ,

your question is not clear so elaborate the problem and give sample in excel.

Regards

Vimlesh Gupta