I have a dataset like this (lots more rows and columns)
ID
Status (N or U)
Age
Inscription Date
1
N
19
2020/12/03
2
U
58
2020/09/07
3
N
45
2018/07/09
4
U
40
2019/01/02
I want to calculate the weighted average of age for each group of N or U (group in status) and for each period (2018-2019-2020), also the weighted average of age for each group of N or U during each quarter since 2018.
I'm newbie in QlikView so it'd be really grateful if someone can leave some comments here.