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
demandé il y a 2 mois481 vues
1 réponse
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
EXPERT
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions