Time Qlik感官。时间滤波器
同一期我在周五发布,但这次我会更具体。我有以下数据:Time Qlik感官。时间滤波器,time,filter,qliksense,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日的实例数 UserI
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
在“数据加载编辑器”中,要按用户分组以获取第一个日期,请执行以下操作:
GroupedUserData:
Load
UserId
min(Date) as FirstDate
resident [The name of your original table];
然后要使用集合分析图表侧:
sum({<FirstDate = {'<=2/1/2018'}>} ActionCount)
sum({}ActionCount)