data-visualization - Qlikview 中的“加载”语句是否不允许对字段进行多个顺序操作?
问题描述
我想保留字段名:Country、Cal_Year 和 Cal_Month。但是,如果我尝试按照以下示例代码中的方式运行该代码,则该代码将无法运行。错误状态:“国家”不是有效的字段名。
LOAD [Country Code],
[ISO code],
Currency,
ApplyMap('Currency_Map',Currency, 'Currency Unmapped') as Country,
Quotation,
year as Cal_Year,
trim(mid(period, 3,4)) as Cal_Month,
Balance,
Activity,
(Balance/Quotation) as FX_Rate,
Country & Cal_Year & Cal_Month as Key1 <-supposedly an erroneous statement
解决方案
你少了逗号?
(Balance/Quotation) as FX_Rate, <-- missing comma here
Country & Cal_Year & Cal_Month as Key1
推荐阅读
- jags - 将 jagam 代码插入 runjags (JAGS) 模型
- javascript - 无法在模式对话框中显示表单
- git - 如何列出带有原始提交日期的 git 标签
- javascript - 如何将ajax post数据传递给nodejs服务器?
- java - 如何识别 Java 程序中对外部类和方法的声明和引用?
- c# - 尝试使用 GDAL/OGR 打开 shapefile 时,“gdalconst_wrap”dll 丢失或无法读取
- python - 序列化字段时如何获取字符串片段(Django / DRF)
- spring - 在初始化整个上下文或执行服务器启动后,有什么方法可以初始化 spring bean?
- css - 有没有办法制作三角HR?
- python - 将日期从整数转换为日期格式