Lastvalue table function attribute error

0

I have multiple records (history records) per opportunity and I need to get the last value for the last load date. My calculations looks as follows: lastValue({total_contract_value},[{load_date} ASC],[{opportunity_id} ASC]) I have both load date and opportunity_id in my field wells but it still says table calculation attribute references are missing from field wells. Any advice? Enter image description here

Simei
質問済み 1年前507ビュー
1回答
0

Hello,

The first argument in the lastValue function should be an aggregated measure to display the data on the Visual. Aggregate function is required to return a single value for the partition fields.

Please refer the AWS QuickSight document on the same: https://docs.aws.amazon.com/quicksight/latest/user/lastValue-function.html

Please modify your calculated field like below, it can be any aggregate function like sum, max etc. on the required field:

lastValue({sum(total_contract_value)},[{load_date} ASC],[{opportunity_id}])

Thanks.

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ