Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
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.