![](/img/trans.png)
[英]TIBCO Spotfire expressions : How to rename a group of nest columns into new names
[英]TiBCO Spotfire - How to Calculate only the last 3 columns in a Data - see descr
Week Sales
1 100
2 250
3 350
4 145
5 987
6 26
7 32
8 156
我只想計算最近3周的銷售額,所以總數將為156 + 32 + 26。
如果添加了新的星期,則應該僅自動計算最近3行中的數據。
嘗試過此公式,但返回不正確的總和
sum(sales) over (lastperiod(3(week))
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.