画面多维度

Tableau multiple Dimension

我有以下原始数据table

Table 名称:原始数据
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

基于以上原始数据,我想创建以下计数 table 并绘制它:

Table 名称:DesiredData
9 月、10 月、11 月的访客人数<br> 瑞士 罗马 意大利 空气 3 4 5 地面 3 2 3 水 3 4 7 总计 9 10 15

所以基本上,我试图从 "RawData" table 上方绘制 "DesiredData" table 上方。

一旦有了这个 "DesiredData" table,我想使用 table 中所示的 Grandtotal 创建一个以 X 轴为模式的图表Y 轴为国家/地区

不确定,如何从上述原始数据创建多个图表。

Sample chart

如有任何指导,我们将不胜感激。

谢谢

Mode 维度放入行中,将 Country 放入列中,然后将 Visitor 拖到"Marks" 架子下的 "Text" 选项卡。然后,右键单击 "Visitor" 药丸,然后单击 "Measure" 和 select "Count" 或 "Count (Distinct)"

是您想要的结果吗?

以上流程适用于 Tableau Desktop。我以前没有在 Tableau-server 上工作过,但我认为过程是一样的。

总结更新- 仅将 "Country" 放在列中,仅将 CNT(访客)放在行中,然后将 "Mode" 拖到“标记”架子下的“颜色”选项卡上