Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt2021
Partner - Contributor III
Partner - Contributor III

Divide By Acummulate Value

Hello,

I have a problem with my second calculation (Acummulative value), the problem is I can not figure out how to obtain my second divide number (Num2). So I had to created a new table where I had that calculated my second number which divide my (Num), I Attached a Sample Excel File Within a qvf example plus an image with what I want to obtain in the final result.

Note : Field 2 =  "Value 1" and Exclude Nulls Values into "Field 1".

 

Output Result.png

Thannks !!!

1 Solution

Accepted Solutions
MayilVahanan

Hi @pgalvezt2021 

In your attached QVF file, there is no Num2 info. May be try like below

Sum(Total<Period> Aggr(Rangesum(Above(Count({<[Año_Creacion_SS]={'$(vAñoMax)'},
[Field 2]={'Value 1'},[Field 1]-={'-'}>}
Distinct ID&[Field 1]),0, RowNo())), Period))

MayilVahanan_0-1622608279579.png

 

You can alter the expression based on ur requirement

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

1 Reply
MayilVahanan

Hi @pgalvezt2021 

In your attached QVF file, there is no Num2 info. May be try like below

Sum(Total<Period> Aggr(Rangesum(Above(Count({<[Año_Creacion_SS]={'$(vAñoMax)'},
[Field 2]={'Value 1'},[Field 1]-={'-'}>}
Distinct ID&[Field 1]),0, RowNo())), Period))

MayilVahanan_0-1622608279579.png

 

You can alter the expression based on ur requirement

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.