如何使用参数在自定义 SQL 中选择表。
例如,数据库中有多个类似 [table_YYYYMMDD] 的表,它每天都会生成一个新的表。如何在自定义 SQL 中选择今天的表。
目前,Tableau 不支持在自定义 SQL 中使用参数作为表名。
“参数只能替换字面值。它们不能替换表达式或标识符,如表名。”
001463498

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.