Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
arulsettu
Master III
Master III

Fabs function giving wrong total

hi i am trying to show negative values to positive

so did like this

=fabs(sum({<ACNT_FLEX_02={'Balance Sheet'}>}TBAL_MTD_DR_LC_1-TBAL_MTD_CR_LC_1))

but my sub total is wrong any one tell me why?

Thanks

Labels (1)
23 Replies
arulsettu
Master III
Master III
Author

any idea?

tresB
Champion III
Champion III

Check your first expression column, i guess its sub total is correct.

tresB
Champion III
Champion III

Put this expression and try:

=Sum(Aggr(fabs(sum({<ACNT_FLEX_02={'Balance Sheet'}>}TBAL_MTD_DR_LC_1-TBAL_MTD_CR_LC_1)),ACNT_FLEX_01,ACNT_FLEX_03))

arulsettu
Master III
Master III
Author

Thank you all