tableau

Tableau 指定维度聚合FIXED

时光毁灭记忆、已成空白 提交于 2019-11-27 21:05:49
为了计算各类别中子类别销售额总和的平均值, 用来平均值判断 step1 : 添加一个计算字段 { FIXED [类别]:AVG({FIXED [子类别]:SUM([销售额])})} step2 : 拖拽至度量值 来源: https://www.cnblogs.com/liuyuanq/p/11376771.html

How to calculate Session and Session duration in Firebase Analytics raw data?

时间秒杀一切 提交于 2019-11-27 14:50:18
How to calculate Session Duration in Firebase analytics raw data which is linked to BigQuery? I have used the following blog to calculate the users by using the flatten command for the events which are nested within each record, but I would like to know how to proceed with in calculating the Session and Session duration by country and time. (I have many apps configured, but if you could help me with the SQL query for calculating the session duration and session, It would be of immense help) Google Blog on using Firebase and big query First you need to define a session - in the following query

tableau-气泡图&词云图&直方图

这一生的挚爱 提交于 2019-11-27 12:40:57
气泡图: 词云图:词云图是在气泡图的基础上绘制的,将气泡图左边标记下面的圆改为文本即可。词云图中,汉字字体越大,说明数据越大。 直方图:数据分布情况 *****做直方图前必须创建数据桶,新建数据桶:将度量的某字段右键,新建数据桶。建好的数据桶默认在维度里面,数据桶必须在列位置(横坐标) 来源: https://www.cnblogs.com/zxw2016208120/p/11363331.html

Tableau-基本函数

…衆ロ難τιáo~ 提交于 2019-11-27 07:55:46
一、数据术语 维度——包含诸如文本和日期等类别数据的字段。 度量——包含可以聚合的数字的字段。 二、字段图标 Abc 蓝色图标->离散字段 # 绿色图标->连续字段 =Abc =前缀图标->自定义计算字段 #! 无效字段 三、数据类型 四、运算符优先级 优先级 运算符 1 - (求反) 2 ^ (乘方) 3 *, /, % 4 +, - 5 ==, >, <, >=, <=, != 6 NOT 7 AND 8 OR 五、数字函数 1.ROUND(number,[decimals]) 将数字舍入为指定位数。decimals参数指定为结果中小数位数,不是必需的。若省略decimals,则number舍入为最接近的整数。 ROUND(7.3)=7 ROUND(-6.9)=-7 ROUND(123.47,1)=123.5 2.MAX(number,number) 返回两个参数(必须为相同类型)中的较大值。如果任一参数为Null,则返回Null。 3.MIN(number,number) 返回两个参数(必须为相同类型)中的较小值。 六、字符串函数 1.Contains(string,substring) 如果给定字符串包含指定子字符串,则返回true. Contains("Calculation","alcu")=true 2.FIND(string,substring,[start])

How to calculate Session and Session duration in Firebase Analytics raw data?

喜你入骨 提交于 2019-11-26 16:55:43
问题 How to calculate Session Duration in Firebase analytics raw data which is linked to BigQuery? I have used the following blog to calculate the users by using the flatten command for the events which are nested within each record, but I would like to know how to proceed with in calculating the Session and Session duration by country and time. (I have many apps configured, but if you could help me with the SQL query for calculating the session duration and session, It would be of immense help)

从头开始学Tableau-第十章(实战1 学校教育评估)

孤者浪人 提交于 2019-11-26 13:41:52
从头开始学Tableau-第十章(实战1 学校教育评估) 第一章 第二章 第三章 第四章 第五章 第六章 第七章 第八章 第九章 数据源 其实我也不知道我会写多少章节,所以不是每章都会有数据源,如果你发现GitHub上没有对应章节的数据,请在往前找(假如这是第20章节,而我的git里只有标题为17章数据源的数据,那么20章的数据源就在17章中。我打算写3个实战项目,这次第九章的数据源其实包含了未来要写的实战的数据。) 前面9个章节我们算是入了门,那么开始实战吧。 现在我有了一些高校学生的成绩数据,我想分析一下某个学校或者某个地区的教育水平。这个实战项目中,将通过不同城市的不同学院,成绩以及餐饮状况等多个维度来制作仪表盘,得知各城市在不同时期的教育水平情况。 那么先来看一下我们都有什么数据吧 连接数据源【考试分数.xls】 tableau把 学生编号 和 教师编号 也作为了度量,实际上是不应该的,我们右键这两项把他们转换到‘维度’中 我们的数据中有 时间 和 分数 还有 科目 ,既然如此我们看一下时间和分数的关系 1.分别双击 日期 和 分数 2.将日期选为‘连续’的‘月’ 3.将分数的‘度量’改为‘平均值’(默认是取和) 4.将科目拖入‘标记’中的颜色框中,这样三个不同的科目就会有不同的颜色了 5.最后选择‘智能显示’中的线行图 emm 所有的‘线’都在图的上方