python - TabPy (Tableau) 如何从工作簿自动生成 pdf

标签 python tableau-api tabpy

我创建了一个包含多个页面的工作簿,这些页面是基于单个过滤器填充的。我想为过滤器的每个值自动打印工作簿的 pdf。

我知道这可以通过 tabcmd 和 tableau 服务器来实现,但我无权访问它,如果我可以在我的计算机上完成这一切,我宁愿不通过服务器。

我可以用 TabPy 来实现吗?如果可以的话怎么做?我通过谷歌搜索没有发现任何适用的内容。

最佳答案

您可以通过添加 :format 参数通过 URL 打印 PDF。您可以通过 URL 传递过滤器值。合并这两个概念,瞧,您将获得每个过滤器值的 PDF。

http://onlinehelp.tableau.com/current/pro/desktop/en-us/actions_fieldvalues_url.html

https://onlinehelp.tableau.com/current/pro/desktop/en-us/embed_list.html

关于python - TabPy (Tableau) 如何从工作簿自动生成 pdf,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46663092/

相关文章:

python - 在非本地时区快速解析 Python 日期时间,调整夏令时

python - 在 Tableau 中运行 python(预测)时出错

python - TabPy:Python 将 Json 返回到 Tableau, "Error Parsing Number"

python - 如何在运行单元测试时摆脱第三方库警告?

python - 在 Javascript 中处理 Pyramid HTTP 错误消息

performance - 商业智能数据源性能 - 大表

google-sheets - 不使用 Excel 对 Tableau 的交叉表数据进行标准化(重新格式化)

amazon-redshift - Redshift-多列至行(不可透视)

python - TabPy Python 脚本 "Unterminated Date"

python - Pandas reshape 和堆叠数据帧