ディメンション:日付、生産ライン
ラインアイテム: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
Hi, I have a form action button that adds a L5 list item to a hierarchy. L5 does not have selective access but L4 does, but I still see all L4 list items in the dropdown when I trigger the form. How can I only view the ones I should have selective access to? L5 does not have selective access. L4 is also a selector on this…
For auditing purpose I need RTO and RPO details. Could you please share the details and also along with the source URL.
A quick reminder of the Bulk Copy functionality. Bulk Copy allows you copy large volumes of data from one slice of a model to another in a single, optimised operation, instead of using formulas or imports. Use case: copy a version (RF1) into a prior year version (PY RF1) using a versions list to allow for year-on-year…