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: 
Not applicable

Asof table null values with pivot table

Hi,

Have used the 'asof' table instead of Rangeavg function in script. The pivot table shows null values when no filters are applied only when I select any field value from first column(There are two columns in pivot table first is the group name and second is Month which is transposed) of pivot table the correct values are displayed in the entire row.

I want the values to be displayed before any selections are made.

gwassenaar

Rolling 12 months percentages

3 Replies
Gysbert_Wassenaar

Can you post a qlikview document that demonstrates the problem?


talk is cheap, supply exceeds demand
Not applicable
Author

Ill explain, For the same application from the tagged post

The columns are dept, group, attrition month and reporting month

Dept and Group mapping is like this:

SSCol            GroupCol

SS1              Group123

SS2              Group123

SS3              Group123

SS4              Group456

SS5              Group456

SS6              Group456

and so on.

The attrition count and monthly headcount for the groups is as follows:

SSColAttrition MonthAttrition CountMonthly Headcount
SS1Jul 20147

15

SS2Jul 2014417
SS3Jul 20143

14

SS4Jul 20145

17

SS5Jul 20143

16

SS6Jul 2014515
SS1Aug 2014312
SS2Aug 20147

13

SS3Aug 2014518
SS4Aug 2014612
SS5Aug 20145

13

SS6Aug 2014716

The Expression of attrition percentage for the month of july for group1 should be calculated such as sum of(Attrition Count) SS1+SS2+SS3/Avg of Monthly Headcount. i.e 14/46 = 30.43%

for grp 1 for the month of august : 14+15/((46+43)/2)  which is equal to 65.16%.

Here for month of august we take average so we divide by 2 assuming july is first month and August is second.

Want this as output of expression in a pivot table.

gwassenaar

Thanks,

Pratik

Not applicable
Author

gwassenaar Any Idea?