ディメンション:日付、生産ライン
ラインアイテム: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
Kindly assist me with the below lines. What i need to do first after creating the UX sheet. How to add Product SKU and Time context selectors in the Page. Include the following: Product SKU and Time context selectors. SYS00 Time Settings by Month module, Planning Period Filter for UX saved view (or create a custom view…
Hi, is it possible to use a Network Card in order to show an organizational structure which cannot be managed through Hierarchy Lists, cause there are branches that don't have the same hierarchy levels associated? Example: In a L1 COMPANY > L2 AREA > L3 SERVICE > L4 OFFICE There is a case like this: COMPANY A AREA A…
Hi - I cannot seem to create a migration for Assignment 3 and it will not allow me to update the hierarchy and proceed further. It seems to think that a link has already been created, but I don't see anything. Any ideas?