we are trying to add 2 calculated field in custom SQL dataset Quicksight which is given below but values not showing in dataset

0

we are trying to add 2 calculated field in custom SQL dataset which is given below but values not showing in dataset

1st is - AsilePrice

sumOver ( sum({SALEAMT}), [{AISLE_NAME}] )

2nd is ProductPrice

avgOver ( max({SALEAMT}), [{AISLE_NAME}] ) ---------------------------------Enter image description here

profile picture
Ritesh
질문됨 2달 전481회 조회
1개 답변
0

It seems like you're trying to add calculated fields in a custom SQL dataset, but the values are not showing up in the dataset. Here are some suggestions to troubleshoot the issue:

  • Verify SQL Syntax: Double-check the syntax of your SQL queries for calculating the fields. Ensure that the syntax is correct and matches the SQL dialect of your database.
  • Check Dataset Refresh: Ensure that the dataset has been refreshed after adding the calculated fields. Sometimes, changes to the dataset schema may require a refresh to reflect in the data.
  • Debug SQL Queries: Run the SQL queries for the calculated fields directly on your database to verify if they are producing the expected results. This can help identify any issues with the SQL logic.
  • Inspect Dataset Configuration: Review the configuration of your dataset in the AWS environment. Ensure that the calculated fields are correctly configured and mapped to the appropriate columns in the dataset.
  • Test with Simplified Queries: Try simplifying the calculated fields or using simpler SQL constructs to see if they work as expected. This can help isolate any complex logic causing issues.
  • Check Dataset Permissions: Verify that the user or role accessing the dataset has the necessary permissions to view the calculated fields. Insufficient permissions may prevent the values from being displayed.
profile picture
전문가
답변함 2달 전

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

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

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

관련 콘텐츠