ディメンション:日付、生産ライン
ラインアイテム: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 Community, I’m encountering an issue where an export created in Anaplan is missing column headers when retrieved via the API. However, when I manually run the same export from the Actions tab, the downloaded file includes the headers. Has anyone experienced this behavior before? I’d appreciate any insights into the root…
Hi all, I, as an Anaplan workspace administrator, am working together with a Fabric team to export data from Anaplan to Fabric via Anaplan API and Postman. We have a problem where all Anaplan exports are visible in Postman but when trying to connect to SOME of them, we get message "404, Not found". Below screenshot showing…
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.…