首页 文章

为什么Tableau中的参数会降低处理器的速度?我通过View通过自定义SQL查询连接

提问于
浏览
1

我有 SQL Database (SQL Server 2008 r2),我通过 Custom SQL Queryconnected to a view in SQL )链接到 Tableau . 我没有在SQL数据库中添加新字段,而是在Tableau中创建 calculated fields . The 连接到Tableau的数据源是视图 I created by joining other viewsthere is a pivot I join to the main table ) . I want to now add the parameters from tableau as new fields in SQL and remove them from Tableau 因为它正在淹没工具 . 你建议什么是最好的方法?我从来没有 added fields to a view and curious how this can be achieved. All of the parameters work in tableau only via the custom SQL query (the view created)but would not if I created them from the main data table in SQL ..我希望这是有道理的 . 非常感谢你的帮助!祝你有个美好的一天-p

1 回答

  • 0

    在sql表中创建所有必需的字段计算总是一个很好的做法,这将提高您的性能 . 并使用您的表而不是实时创建提取连接 .

相关问题