[英]Sort and Check whether the previous value is null in spotfire
I want to apply this logic in spotfire - If the current cell in InReworkFlag is null and previous cell is also null then it's 'REWORK'.我想在 Spotfire 中应用这个逻辑 - 如果 InReworkFlag 中的当前单元格是 null 并且前一个单元格也是 null 那么它就是“返工”。 I have to do this after sorting based on the date time column.我必须在根据日期时间列进行排序后执行此操作。
I tried using OVER and PREVIOUS functions but couldn't achieve the expected results.我尝试使用 OVER 和 PREVIOUS 功能,但无法达到预期的效果。 Could anyone help me out here?有人可以帮我吗?
Figured it out.弄清楚了。
Max([InReworkFlag]) OVER (Previous([StatusEndDateTime]) Max([InReworkFlag]) OVER (上一个([StatusEndDateTime])
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.