简体   繁体   English

AWS Quicksight 计算的字段平均值

[英]AWS Quicksight calculated field average

Hi I am having trouble with this calculated field.嗨,我在使用这个计算字段时遇到了问题。 I am trying to get the sum of money_val for each customerkey.我正在尝试获取每个 customerkey 的 money_val 总和。 Then I want to have a KPI visual to show the average money_val.然后我想要一个 KPI 视觉对象来显示平均货币价值。 I found that PRE_AGG and PRE_FILTER gave wrong values so I want to use POST_AGG_FILTER.我发现 PRE_AGG 和 PRE_FILTER 给出了错误的值,所以我想使用 POST_AGG_FILTER。

sumOver(sum({money_val}),[customerkey], POST_AGG_FILTER)

But when I put it in the value field well of the KPI visual, I get this:但是当我把它放在 KPI 视觉对象的 value 字段中时,我得到了这个:

在此处输入图片说明

I only have cust-amnt-total(custom) as a Value in the field well.我在字段中只有 cust-amnt-total(custom) 作为值。 Also, how can I get the average since the only option is Custom?另外,由于唯一的选择是自定义,我如何获得平均值?

您还需要在您的油井中使用 money_val 和 customerkey 才能使视觉效果正常工作,但我不确定您要在这里实现什么

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 ifelse 在 AWS QuickSight 中编写计算字段公式 - How to write calculated field formula in AWS QuickSight using ifelse 需要在 AWS Quicksight 中使用 if else 条件输入计算字段公式 - Need input on calculated field formula with if else condition in AWS Quicksight AWS QuickSight - 创建基于度量的字段之间差异的计算字段 - AWS QuickSight - create a calculated field of the difference between a measure based fields 如何使用计算字段将字符串转换为 AWS Quicksight 中的日期时间? - How to convert string to Datetime in AWS Quicksight using calculated field? AWS Quicksight 上的嵌套平均值 - nested average over on AWS Quicksight AWS Quicksight - 关于使用 if else 和自定义聚合创建计算字段的问题 - AWS Quicksight - question about creating a calculated field using if else and custom aggregation 如何在 Amazon QuickSight 中创建 boolean 计算字段? - How to create a boolean calculated field in Amazon QuickSight? 在 Amazon QuickSight 中的计算字段内使用聚合 - Using aggregation within a calculated field in Amazon QuickSight Quicksight - 如何在计算字段中使用 log()? - Quicksight - How to use log() in a calculated field? AWS Quicksight 计算字段给出简单除法的错误结果 - AWS Quicksight calculated fields gives incorrect result for simple division
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM