Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem in SubTotal in straight table

Dear Experts,

There is problem with subtotal in a straight table as shown in below table.

The last column expression does not evaluate subtotal for column F2.

Please help us to get correct result for subtotal.

Please refer attached file.

Regards

Nitin K

F1F2=SUM(F3+ (F4/F5) )=SUM(F5)=SUM((F3+ (F4/F5) ) * F5)= SUM((F3+ (F4/F5) ) * F5) / SUM((F3+F4)*F5)
A1.12.75411.000.55
A1.23.80519.000.54
A1.34.83629.000.54
ATotal11.381559.000.54
B1.12.75411.000.55
B1.34.83629.000.54
BTotal7.581040.000.54
C1.12.75411.000.55
C1.23.80519.000.54
C1.34.83629.000.54
C1.45.86741.000.53
CTotal17.2422100.000.54
D1.23.80519.000.54
D1.45.86741.000.53
DTotal9.661260.000.54
1 Solution

Accepted Solutions
robert_mika
Master III
Master III

Try this:

= SUM(((F3+ (F4/F5) ) * F5) / ((F3+F4)*F5))

View solution in original post

9 Replies
robert_mika
Master III
Master III

Try this:

= SUM(((F3+ (F4/F5) ) * F5) / ((F3+F4)*F5))

alexandros17
Partner - Champion III
Partner - Champion III

Your last expression should be:

= SUM((F3+ (F4/F5) ) * F5 / ((F3+F4)*F5))

let me know

Not applicable
Author

Thanks Robert,

Its working

Not applicable
Author

Thanks Alessandro,

Its working

Not applicable
Author

Dear Robert,

I'm colleague of Nitin, We're evaluating below expression. Could you help to reorganize the equation.

=sum(if(MDC_YEARMONTH_PS >= v_PRE_VER_YEARMONTH and MDC_VERSN_PS = vPrestart_Version and MDC_TYPPS_PS = 'M', MDC_PLAN_VAL_PS + (MDC_PLAN_VAL_PS * v_CONSUM_NORM_PRE)))

/sum({<TO_YEARMONTH={'>=$(v_PRE_VER_YEARMONTH)'},TO_VSNMR={$(vPrestart_Version)}>}TO_FC_QTY)

expressionerror123.png

Thanks

Ashif

robert_mika
Master III
Master III

You are welcome.

Could you mark the answers as Correct ,please?

robert_mika
Master III
Master III

This is more tricky.

Could you post your file?

Not applicable
Author

File is more than 300MB. So could not possible. Thats why Nitin created sample file.

robert_mika
Master III
Master III

Sorry Ashif.

This is a little bit too complicated for me yet.

Maybe Allesandro will help