我有原始数据表
表名:A
Mode Country Month Visitor
Air Switzerland Sep-16 Rob
Air Switzerland Oct-16 Bob
Air Switzerland Nov-16 Ben
Air Rome Sep-16 Zen
Air Rome Sep-16 Jen
Air Rome Oct-16 Todd
Air Rome Nov-16 Ron
Air Italy Sep-16 John
Air Italy Sep-16 Scott
Air Italy Sep-16 Jeff
Air Italy Oct-16 Audrey
Air Italy Nov-16 Steve
Ground Switzerland Sep-16 Rob
Ground Switzerland Oct-16 Russel
Ground Switzerland Oct-16 Zen
Ground Rome Nov-16 Ron
Ground Italy Sep-16 Dan
Ground Italy Oct-16 Timmy
Ground Italy Oct-16 Auidrey
Water Switzerland Sep-16 Peter
Water Switzerland Sep-16 Josh
Water Switzerland Nov-16 Rob
Water Rome Oct-16 Ben
Water Rome Nov-16 Stuart
Water Rome Nov-16 Jen
Water Rome Nov-16 Todd
Water Italy Sep-16 Scott
Water Italy Sep-16 Jeff
Water Italy Sep-16 LOLO
Water Italy Sep-16 Dabbu
Water Italy Nov-16 Danu
Water Italy Oct-16 Randy
Water Italy Oct-16 Demi
表名:B
Mode Month TotalVisitorCount
Air Sep-16 2500
Ground Sep-16 30
Water Sep-16 100
Air Oct-16 1200
Ground Oct-16 10
Water Oct-16 3500
Air Nov-16 5000
Ground Nov-16 600
Water Nov-16 800
在模式和月份内部加入这两个表之后,我想实现" Final Table" (下图)11月16日。
决赛桌
Mode/Country Switzerland Rome Italy VisitorRate Goal
Air 3 4 5 (3+4+5)/5000 0.06
Ground 3 2 3 (3+2+3)/600 0.06
Water 3 4 7 (3+4+7)/800 0.06
所以基本上,我试图在上面" Final Table"来自" TableA"和"表B"。 需要以下示例图表。
任何指导都将不胜感激。
由于
答案 0 :(得分:0)
我可以获得访客率= COUNTD(访客姓名)/总和(TotalVisitorCount)
为了在辅助垂直轴上绘制多个尺寸,请使用 测量行部分的值。
如何在辅助垂直轴上设置多个度量/维度? - 简单" A / B"
我如何计算" VisitorRate",因为" DIV(计数[访客] / [总访客数量])"公式说,我需要双方聚合。 - 在行部分中使用测量值。