I have a long-format dataset in Amazon QuickSight, where each column represents a different metric_name for a given year_month and field_name.
The metric_name field includes:
‘total_count’ → Total number of records
‘null_count’ → Count of missing (null) values
‘distinct_count’ → Unique value count
I needed to dynamically calculate a new metric based on these values using this calculated field eg:
Hi @Scriptlord and welcome to the QuickSight community!
One quick note on not receiving a response, when you add an additional comment to one of your posts, it removes the overall post from the ‘New’ and ‘Unanswered’ lists, which often leads to scenarios like yours where questions go unanswered. If you need to add additional notes or information, make sure to edit your original post so that it remains in the unanswered section of the community.
In regards to your situation, if still encountering the same issues, could you please include some screenshots of your visual to show the behavior your receiving from the calculated field?
Hi @Scriptlord,
Since we have not heard back, I’ll go ahead and close out this topic. However, if you have any additional questions, feel free to create a new post in the community and link this discussion for relevant information if needed.