如何在Spotfire中计算同项目编码的项目总耗时?是否支持While Loop?
如何在Spotfire中计算同一项目的总完成天数?
我需要计算项目的「总耗时天数」,但同一项目编码对应多条每日记录。以项目A(关联编码:123abc)为例,其记录如下:
project code 123abc: [comment] "starting to clean", [startdate]: 01/01/2022, [enddate]: 01/01/2022, + other variables project code 123abc: [comment] "finished cleaning, painting", [startdate]: 01/02/2022, [enddate]: 01/03/2022+ other variables project code 123abc: [comment] "paint and clean finished", [startdate]: 01/04/2022, [enddate]: 01/05/2022+ other variables
我的目标是得出项目A的「总完成天数」为4天。请问:
- Spotfire能否实现该计算?
- 是否可编写While Loop来实现「当项目编码相同时,[Day Count]自增」的逻辑?
感谢提供相关建议。
内容的提问来源于stack exchange,提问作者AnnonymousAsker
相关产品推荐
相关产品推荐

