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
질문됨 일 년 전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.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠