您在此处:
文本到数字转换:转换列类型
将数据加载到数据集中时,如果数字(评测)列包含意外的字符串或字符,CRM Analytics 会将其标记为文本(维度)。要对列进行计算,例如计算平均值,请使用“文本到数字”转换,将“文本”列类型更改为“数字”。您仅可以对数字列执行计算。

使用更普遍的搜索词。
选择更少的筛选器,并扩大搜索范围。
将数据加载到数据集中时,如果数字(评测)列包含意外的字符串或字符,CRM Analytics 会将其标记为文本(维度)。要对列进行计算,例如计算平均值,请使用“文本到数字”转换,将“文本”列类型更改为“数字”。您仅可以对数字列执行计算。
| 所需用户权限 | |
|---|---|
| 管理和创建模式: | 编辑 CRM Analytics 数据流或编辑数据集模式 |
在列类型转换期间,“文本到数字”转换会将小数四舍五入到最接近的整数。例如,300.2939 会舍入为 300。


根据输出列的数据类型,您可以设置这些属性。
| 属性 | 描述 |
|---|---|
| API 名称 | 列的 API 名称。列 API 名称最多可包含 255 个字符。API 名称在模式中还必须唯一。 |
| 精确率 | 数字(评测)列中的最大位数。包含小数点左侧和右侧的所有数字(但不包括小数点字符)。输入 1 到 18 之间的整数(包括 1 和 18)。如果数值超过指定的精度,该值将被设置为 0 或空,具体取决于是否启用了空评测处理。例如,如果精度设置为 5,并且启用了空评测处理,则数值 123456.78 将替换为空值。 |
| 比例 | 数字列中小数点右边的位数。输入 0 到 17 之间的整数(包括 0 和 17)。刻度必须小于精度。例如,如果数值为 123456.789,并且将刻度设置为 2,则数字显示为 123456.78。 |
| 长度 | 文本(维度)列中的最大字符数。输入 1 到 32000 之间的整数(包括 1 和 32000)。默认长度为 255 个字符。 |
| 日期格式 | 日期列的日期格式。 |
有关更多指南,请参见本帮助主题中的“字段名限制”部分。
)。运行模式,将列类型转换为数字。

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.