隐藏 Table Calc 中与正在计算的字段相同的 sheet 中的空白列的方法? (Tableau)

Way to hide blank columns in Table Calc in same sheet as field being calculated? (Tableau)

当使用 table 计算来比较同一 sheet 中的当前期间与上一期间时,是否可以隐藏空白列而不同时隐藏正在计算的字段?我想将所有内容保持在相同的 sheet 中以避免滚动多个 sheets.

Table 计算空白 (https://imgur.com/WCPzdM3)

尝试将 table 计算放在单独的 sheet 中,但是在必须滚动时会产生不希望的结果 - 必须同时滚动两个 sheet。

解决方案(https://imgur.com/Jnh5bTO

希望它全部在一行中并且全部在同一行中sheet。

你好吗?

也许你可以分享你是如何构建它的(图像甚至工作簿)、详细程度和使用的计算。

这样其他人可以尝试复制它并提出想法和解决方法。

谢谢

Example using calculated fields to reach a similar result

公式

当前月份:

IF MONTH([Order Date]) = MONTH(TODAY())
    THEN [Sales]
END

上个月:

IF MONTH([Order Date]) = MONTH(TODAY())-1
    THEN [Sales]
END

差异:

SUM([Current Month])-SUM([Previous Month])

差异百分比:

(SUM([Current Month])-SUM([Previous Month]))
/
ABS(SUM([Current Month]))

我使用 'Sample - Superstore' 作为数据源。 Tableau Desktop 版本 2019.1.2