ディメンション:日付、生産ライン
ラインアイテム: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
Hello folks, Does anyone know how to work around the Polaris limitation of using the Formula or Ratio summary method alongside the Closing Balance within the same line item? I have a Business Unit list where the total (All BUs) must display the Corporate (1 of 20 leaf items under All BUs total) number of Unique Customers.…
Has anyone found success using Anaplan XL with Polaris models in a shared drive with or without concurrent users? My team has experienced a variety of errors, login failures, etc. sometimes it works, sometimes it doesn't. We've been recommended to save and edit files locally, which helps but certainly with its limitations…
We are looking for Anaplan end-users to provide feedback on their experiences with the Excel add-in. Interested individuals will respond to this 5-minute survey to help us understand personal needs and behavior when using the add-in. The feedback provided by survey takers is essential to the roadmap of Anaplan's products.…