Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Gowtham174
Creator
Creator

Product() excel function

Hi Everyone,

Could you please help me on the below product function which is there in excel.

Need to show expected result in qliksense table 

Tried with below not able to get:

exp(sum
({<Date={">=$(=Date(Yearstart(vToDate))) <=$(=Date(vToDate))"}>}Aggr(nodistinct
below(
rangesum(below(log(sum({<Date={">=$(=Date(Yearstart(vToDate))) <=$(=Date(vToDate))"}>}Value))
,0,NoOfRows())) ,1,NoOfRows()),Date)))

DateValueExpected
2-Jan100.91%87.49%
3-Jan99.83%86.70%
6-Jan99.91%86.85%
7-Jan100.27%86.93%
8-Jan100.32%86.70%
9-Jan100.50%86.42%
10-Jan100.14%85.99%
13-Jan100.12%85.87%
14-Jan100.10%85.76%
15-Jan99.97%85.67%
16-Jan100.23%85.69%
17-Jan100.35%85.50%
20-Jan100.01%85.20%
21-Jan99.84%85.19%
22-Jan100.19%85.33%
23-Jan99.96%85.17%
24-Jan100.21%85.21%
27-Jan99.05%85.03%
28-Jan100.42%85.84%
29-Jan100.11%85.48%
30-Jan99.61%85.38%
31-Jan99.04%85.72%
3-Feb100.19%86.55%
4-Feb101.08%86.39%
5-Feb100.57%85.46%
6-Feb100.58%84.98%
7-Feb99.92%84.49%
10-Feb100.44%84.56%
11-Feb100.27%84.19%
12-Feb100.64%83.96%
13-Feb100.07%83.42%
14-Feb100.07%83.37%
17-Feb100.09%83.31%
18-Feb99.97%83.24%
19-Feb100.49%83.27%
20-Feb99.76%82.86%
21-Feb99.38%83.06%
24-Feb98.25%83.58%
25-Feb98.69%85.07%
26-Feb99.61%86.20%
27-Feb97.83%86.54%
28-Feb98.32%88.46%
2-Mar100.48%89.97%
3-Mar99.52%89.54%
4-Mar101.13%89.98%
5-Mar99.10%88.97%
6-Mar99.36%89.78%
9-Mar97.06%90.36%
10-Mar101.12%93.10%
11-Mar99.05%92.07%
12-Mar97.64%92.95%
13-Mar100.87%95.19%
16-Mar98.26%94.37%
18-Mar98.57%96.05%
19-Mar100.67%97.44%
20-Mar101.00%96.79%
23-Mar99.56%95.83%
24-Mar100.17%96.25%
25-Mar99.44%96.09%
26-Mar99.76%96.63%
27-Mar99.61%96.86%
30-Mar100.52%97.24%
31-Mar99.78%96.74%
1-Apr100.48%96.95%
2-Apr100.07%96.49%
3-Apr100.35%96.42%
6-Apr99.46%96.08%
7-Apr99.26%96.59%
8-Apr100.00%97.31%
9-Apr99.76%97.31%
14-Apr99.72%97.55%
15-Apr100.74%97.82%
16-Apr100.20%97.10%
17-Apr99.52%96.90%
20-Apr100.16%97.37%
21-Apr100.56%97.21%
22-Apr99.86%96.66%
23-Apr99.77%96.80%
24-Apr100.19%97.02%
27-Apr99.37%96.83%
28-Apr99.80%97.45%
29-Apr99.59%97.65%
30-Apr100.14%98.05%
5-May100.76%97.91%
6-May100.12%97.17%
7-May99.96%97.06%
11-May99.37%97.10%
12-May100.21%97.72%
13-May100.52%97.51%
14-May100.35%97.00%
15-May99.93%96.67%
18-May98.75%96.74%
19-May99.62%97.96%
20-May99.99%98.34%
22-May100.76%98.35%
25-May99.77%97.60%
26-May98.80%97.83%
27-May99.98%99.02%
28-May99.60%99.03%
29-May100.38%99.43%
2-Jun98.52%99.06%
3-Jun98.98%100.54%
4-Jun99.62%101.58%
5-Jun98.94%101.97%
8-Jun99.91%103.06%
9-Jun100.46%103.15%
10-Jun100.49%102.69%
11-Jun102.12%102.18%
12-Jun100.18%100.06%
15-Jun100.06%99.88%
16-Jun99.17%99.82%
17-Jun100.10%100.66%
18-Jun100.40%100.55%
19-Jun99.99%100.15%
22-Jun100.03%100.16%
23-Jun99.48%100.13%
24-Jun100.75%100.65%
25-Jun100.19%99.90%
26-Jun100.29%99.72%
29-Jun99.89%99.43%
30-Jun99.74%99.54%
1-Jul99.66%99.80%
2-Jul99.88%100.14%
3-Jul100.01%100.26%
6-Jul99.55%100.25%
7-Jul100.31%100.71%
8-Jul100.02%100.40%
9-Jul100.41%100.38%
10-Jul99.94%99.97%
13-Jul99.55%100.03%
15-Jul99.78%100.49%
16-Jul100.32%100.71%
17-Jul99.89%100.39%
20-Jul99.89%100.50%
21-Jul99.85%100.61%
22-Jul100.22%100.76%
23-Jul100.07%100.54%
24-Jul100.04%100.48%
27-Jul100.03%100.44%
28-Jul100.13%100.41%
29-Jul100.00%100.29%
30-Jul100.55%100.29%
31-Jul99.95%99.74%
4-Aug99.90%99.79%
5-Aug99.72%99.89%
6-Aug100.21%100.17%
7-Aug99.71%99.96%
10-Aug99.91%100.25%
11-Aug99.13%100.34%
12-Aug99.83%101.22%
13-Aug99.68%101.39%
14-Aug100.28%101.72%
17-Aug100.39%101.43%
18-Aug100.36%101.04%
19-Aug99.83%100.68%
20-Aug100.27%100.85%
21-Aug99.95%100.58%
24-Aug99.96%100.63%
25-Aug99.62%100.66%
26-Aug99.91%101.05%
27-Aug99.88%101.14%
28-Aug100.49%101.26%
31-Aug100.13%100.76%
1-Sep100.10%100.63%
2-Sep100.03%100.53%
3-Sep100.12%100.49%
4-Sep99.72%100.38%
7-Sep99.79%100.66%
8-Sep99.97%100.87%
9-Sep100.09%100.90%
10-Sep99.84%100.81%
11-Sep100.40%100.97%
14-Sep100.09%100.57%
15-Sep99.92%100.47%
16-Sep99.76%100.55%
17-Sep100.34%100.79%
18-Sep99.88%100.45%
21-Sep99.99%100.57%
22-Sep99.77%100.59%
23-Sep99.46%100.82%
24-Sep99.99%101.36%
25-Sep100.03%101.37%
28-Sep100.10%101.34%
29-Sep100.45%101.24%
30-Sep99.85%100.78%
1-Oct100.27%100.93%
2-Oct99.82%100.66%
5-Oct99.82%100.84%
6-Oct99.78%101.02%
7-Oct100.02%101.25%
8-Oct100.14%101.23%
9-Oct100.34%101.09%
12-Oct99.90%100.74%
13-Oct100.10%100.85%
14-Oct100.09%100.74%
15-Oct100.07%100.65%
16-Oct100.06%100.59%
19-Oct99.87%100.53%
20-Oct100.00%100.66%
21-Oct99.95%100.66%
22-Oct99.64%100.71%
23-Oct100.09%101.08%
27-Oct100.37%100.98%
28-Oct99.76%100.61%
29-Oct99.90%100.86%
30-Oct99.77%100.96%
2-Nov100.10%101.20%
3-Nov99.95%101.10%
4-Nov100.73%101.15%
5-Nov100.17%100.42%
6-Nov99.84%100.25%
9-Nov98.84%100.41%
10-Nov99.53%101.59%
12-Nov100.38%102.06%
13-Nov100.20%101.68%
16-Nov100.17%101.48%
17-Nov100.09%101.31%
18-Nov99.99%101.22%
19-Nov100.07%101.23%
20-Nov100.20%101.16%
23-Nov99.83%100.96%
24-Nov100.18%101.13%
25-Nov100.10%100.94%
26-Nov100.09%100.84%
27-Nov100.12%100.75%
30-Nov99.86%100.63%
1-Dec99.82%100.77%
2-Dec100.03%100.95%
3-Dec100.30%100.93%
4-Dec100.05%100.62%
7-Dec100.20%100.57%
8-Dec100.07%100.37%
9-Dec99.91%100.30%
10-Dec100.29%100.39%
11-Dec100.10%100.10%

 

Thank you from your time in advance.

 

Thanks,

Gowtham

 

1 Reply
Anil_Babu_Samineni

I would suggest from next time, Please post as in excel rather copy paste to avoid too much space. Perhaps this? If not, Please explain the logic. I predict that you are using pivot table since I can see Below() function used..

rangesum(
below(
log(
sum({<Date={">=$(=Date(Yearstart(vToDate))) <=$(=Date(vToDate))"}>}Value)
)
,0,Rowno(TOTAL))
)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful