Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
AmCh
Creator
Creator

Calculation within Tables

Hi all,

I have the following table (Input) as an example:

abcdefhi
1601,12,1009
2002,33,21295,8
3003,44,301,250
4004,55,403,330
5005,66,5102,43
6016,77,60024,56
00000000

 

Desired intermediate output (Table):

respecting those formula:

j=m*c (m: entered value from the user with an input box)

k=n*d (n: entered value from the user with an input box)

l=e

vMAX=MAX(j,k,l)

respecting this formula, desired first output looks like:

P[i][t]=(vMax*t-x)(1-f)+(((t-(1/vMax))/o)+1)*f // x=0 if t=o else x=0,001

i/t123456...o
1P[1][1]       
2        
3        
4      P[i][t] 
5        
6       P[6][o]

 

respecting to this formula, second desired output looks like:

q
SUM(h*Transpose(P[1][t])
 
 
 
 
SUM(h*Transpose(P[6][t])

 

Any Help please?

 

Thanks in advance

13 Replies
edwin
Master II
Master II

@AmCh not sure what is wrong with your chart.  maybe you can attach your QVW?

edwin
Master II
Master II

this is what i did

AmCh
Creator
Creator
Author

It works perfectly!
Thank you!

edwin
Master II
Master II

yw