当 CSV 文件的内容中有双引号时,如何自动移除第一个和最后一个双引号。
默认情况下,当 CSV 中的每个项目都有双引号时,Tableau 将在导入数据源时自动移除双引号。
但当内容中有一个双引号时(例如"S 01" monitor"),Tableau 就无法自动移除双引号。
例如,可以在没有双引号的情况下读取的 CSV:
========
商店、类别、产品、号码
"AA"、"XXX"、"S 01 monitor"、"5"
"AB"、"XXX"、"S 02 monitor"、"3"
"AC"、"XXX"、"S 03 monitor"、"2"
========
可以在所有项目均带有双引号的情况下读取的 CSV:
========
商店、类别、产品、号码
"AA"、"XXX"、"S 01" monitor"、"5"
"AB"、"XXX"、"S 02 monitor"、"3"
"AC"、"XXX"、"S 03 monitor"、"2"
========
001470533
6 KB

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.