如何从表格中显示最大值、最小值、中值和平均值 [英] how to display max, min, median, and average from tableau

查看:36
本文介绍了如何从表格中显示最大值、最小值、中值和平均值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

那张图上就是user_id,右边是每个用户的交易频率,

on that picture, that is user_id and the right side are the frequency of transaction for each users,

如何显示该用户的交易频率的最小值、最大值、中值和平均值?

how to display the minimum, max, median, and average for the frequency transaction of this users?

对于这类问题,我需要做哪些计算?

what calculation do i need to made for this kind of problems?

所以会出现中值最大值最小值和平均值

so the median max min and average will appear

推荐答案

查看这篇关于 窗口函数

最小使用 WINDOW_MIN(COUNTD([Order Id]))

For the min use WINDOW_MIN(COUNTD([Order Id]))

为了最大限度地使用 WINDOW_MAX 等

For the max use WINDOW_MAX, etc

这篇关于如何从表格中显示最大值、最小值、中值和平均值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆