如何设置仪表板操作过滤器以仅显示 sheet B 中包含 sheet A 中当前选择的记录?
How to set up a dashboard action filter to show only those records in sheet B that contain the current selection in sheet A?
第一次张贴在这里。我正在整理一个仪表板来显示许多项目的进度,这些项目都包含一组给定的里程碑。
我将两个图表放在一起,一个 'milestone overview' 显示了按里程碑实现(蓝色)或尚未实现(灰色)的 project_id 的计数,另一个 'gantt chart' 显示了这些里程碑的时间表每个 project_id see milestone and gantt dashboard。所有项目都应包含所有里程碑,但情况并非总是如此。
我现在想应用仪表板操作来过滤 'gantt chart' 并仅显示包含 'milestone overview' 中所选里程碑的项目以及已实现该里程碑的项目(或未实现,具体取决于选择),但保留外观。本质上,我需要将 project_id 从 'milestone overview' 传递到 'gantt chart'、see desired result filtered gantt
目前,唯一的共同维度是 activity_id(里程碑)所以当我使用它来过滤甘特图时,会显示正确的项目,但所有其他里程碑都被排除在视图之外并且甘特图中断 see this image
我尝试将 project_id 添加到 'milestone overview' 图表的详细信息架,但它随后将图表 see fragmanted milestone chart 分割开来
然后我尝试将它推到辅助轴(位于聚合图表后面)但仪表板操作忽略它,因为只能选择来自第一轴的聚合图表。
我还在 Tableau 社区论坛 here 上发布了示例工作簿,但尚未收到任何回复。有什么建议吗?
谢谢
我认为您只需要在甘特图工作表上为 Activity ID 放置一个过滤器,如下所示:
当您转到仪表板时,操作过滤器应该像这样过滤:
如果你喜欢,我可以把练习册发给你。
仅供参考,请参阅 Yuri 在 Tableau community forums. Basically this is a one-click solution with Set Actions in the new 2018.3 version. For those in older versions, provided is a two-click solution (snapshot added). I'm not fully clear on why this works given there are no common fields between 'show projects' and 'milestone overview' sheets, yet the dashboard action still goes through without the 'missing fields on sheet...' error. Anyway, it's the best alternative to set actions.snapshot of the solution provided
中提供的回复
第一次张贴在这里。我正在整理一个仪表板来显示许多项目的进度,这些项目都包含一组给定的里程碑。 我将两个图表放在一起,一个 'milestone overview' 显示了按里程碑实现(蓝色)或尚未实现(灰色)的 project_id 的计数,另一个 'gantt chart' 显示了这些里程碑的时间表每个 project_id see milestone and gantt dashboard。所有项目都应包含所有里程碑,但情况并非总是如此。
我现在想应用仪表板操作来过滤 'gantt chart' 并仅显示包含 'milestone overview' 中所选里程碑的项目以及已实现该里程碑的项目(或未实现,具体取决于选择),但保留外观。本质上,我需要将 project_id 从 'milestone overview' 传递到 'gantt chart'、see desired result filtered gantt
目前,唯一的共同维度是 activity_id(里程碑)所以当我使用它来过滤甘特图时,会显示正确的项目,但所有其他里程碑都被排除在视图之外并且甘特图中断 see this image 我尝试将 project_id 添加到 'milestone overview' 图表的详细信息架,但它随后将图表 see fragmanted milestone chart 分割开来 然后我尝试将它推到辅助轴(位于聚合图表后面)但仪表板操作忽略它,因为只能选择来自第一轴的聚合图表。 我还在 Tableau 社区论坛 here 上发布了示例工作簿,但尚未收到任何回复。有什么建议吗?
谢谢
我认为您只需要在甘特图工作表上为 Activity ID 放置一个过滤器,如下所示:
当您转到仪表板时,操作过滤器应该像这样过滤:
如果你喜欢,我可以把练习册发给你。
仅供参考,请参阅 Yuri 在 Tableau community forums. Basically this is a one-click solution with Set Actions in the new 2018.3 version. For those in older versions, provided is a two-click solution (snapshot added). I'm not fully clear on why this works given there are no common fields between 'show projects' and 'milestone overview' sheets, yet the dashboard action still goes through without the 'missing fields on sheet...' error. Anyway, it's the best alternative to set actions.snapshot of the solution provided
中提供的回复