Qlik Sense。时间过滤器

时间:2018-10-01 10:38:51

标签: time filter qliksense

我在星期五发布了同一期杂志,但是这次我会更具体。我有此数据:

UserId  Action Id     Date
   1        1       1/1/2018
   1        2       1/1/2018
   1        2       2/1/2018
   2        3       3/1/2018
   2        4       4/1/2018

我想要一个过滤器,它会产生以下结果:

从FirstDate到2018年2月1日计数实例

UserId    ActionCount
   1          3
   2          0

1 个答案:

答案 0 :(得分:1)

在数据加载编辑器中,您要按用户分组以获取第一个日期:

GroupedUserData:
Load
UserId
min(Date) as FirstDate
resident [The name of your original table];

然后您要在图表侧使用设置分析:

sum({<FirstDate = {'<=2/1/2018'}>} ActionCount)
相关问题