ディメンション:日付、生産ライン
ラインアイテム:Boolean
上記モジュールにおいてBooleanラインアイテムがTrueとなっている最終日付を取得する方法を教えてください
@RK NR, @Amaya
TIMESUM(日付, 集計終了日, 集計開始日, LASTNONBLANK) で取得することができました!
ご協力ありがとうございました!
Hi @nynyny
ターゲットディメンションとは
@RK NR ターゲットディメンションは生産ラインのみです。FormatはDateでお願いします
ソースの詳細、日付カスタム ディメンションか Anaplan 日ディメンションか、どの期間からどの期間まで時間を考慮する必要があるか、月と四半期の概要があるかなどを送っていただけますか。
ソースモジュール
対象モジュール
うまくいったかどうか教えてください!乾杯!
こんにちは 私も試してみましたが TIMESUM を使うことになりますが、TIMESUM(Date) でそれ以外の引数を指定しない場合 FIRSTNONBLANK になるのではないか?という気がしました。 なので、明示的にLASTNONBLANKを指定してTIMESUMするべき。 となると第2・3引数で期間を指定しないといけません。
この「最初の日」を持ってくるときに、先ほどの引数なしのTIMESUMを使うとよいのかもしれません。
ちなみにTIMESUMなので、この「日付」のラインアイテムのSummaryはnoneのままでOKかと思います。 TIMESUM、奥が深いのでぜひ学んでみてください。 Taichi
@RK NR
ご回答いただきありがとうございます。
同様に作成してみましたが、初日が取得されてしまいます。
@Amaya
同様に作成してみましたが、日付が表示されません。
なるほど、数字(0)での設定ではうまく動かなかったということですね。 Current Periodが選択されていなかった、ということかと思いました。ご参考まで
TIMESUM | Anapedia
Taichi
Dimensions: Date, Production LineLine Items: Boolean
How can I retrieve the last date when the Boolean line item is True in the above module?
In Module A which has a Time Dimension, create a LINE ITEM that displays the date only when the Boolean is checked (Formula: last date = IF NOT CHECKED THEN BLANK ELSE START()).
last date = IF NOT CHECKED THEN BLANK ELSE START()
Since we want to bring only the latest value to Module B which doesn't have a TIME dimension, we want to write the formula: TIMESUM(last date, *start date, 0, LASTNONBLANK).
TIMESUM(last date, *start date, 0, LASTNONBLANK)
For this *start date, we want to input the beginning date of the Time dimension, so in Module A we create a LINE ITEM (start date) with: start date = IF CUMULATE(1) > 1 THEN BLANK ELSE START().
start date = IF CUMULATE(1) > 1 THEN BLANK ELSE START()
As mentioned in the previous response, to bring this start date to Module B, it works well to put it in a TIMESUM with no arguments: TIMESUM(Module A.start date).
TIMESUM(Module A.start date)
This way, the start date can also be handled in Module B, so we can write Aggregation Method LASTNONBLANK in the current TIMESUM, which allows us to retrieve the last date.
@nynyny 日本のコミュニティもよろしくお願いします🙋♂️Anaplan Japan Community - Anaplan Community
Just curious :)…
Hello fellow Anaplaners, I have a question about the UX for Anaplan for hierarchical list. If I have a list with multiple layers, say P1, P2, P3, and P4, and the workpage had 2 axis, list and line items, in its vertical axis and time in its horizontal axis (see figure below) The list is shown without indentations, and may…
I have seen two methods used to build financial statements and I am wondering what others have experienced in scalability/maintenance between the two or if there is a better approach. Assume that we have a flat data source for our general ledger within Anaplan. Our line item we are focused on within the source data is the…