出于某种原因,我不断收到我的数据中包含的NULL结果。它已经缩小到脚本的一部分:
Goods_In
LOAD
WEL_ORIG &'/' & WEL_EINGANG AS GI_Number,
WEL_RECHNUNG AS SI_Fut_Invoice_No;
SQL
SELECT *
FROM CONFUTHO.dbo.V_WE_LINK
WHERE WEL_RECHNUNG > 133695 and WEL_RECHNUNG is NOT NULL;
结果的一小部分如下;
SI_Fut_Invoice_No GI_Number
67715
67716
67717
67718
67719
67720
67721
144608 1/247336
144605 1/247337
144606 1/247338
144604 1/247339
144607 1/247340
145611 1/247341
149074 1/247341
144816 1/247342
正如您所看到的,我仍然使用NULL WEL_ORIG和GI_Numbers
获取WEL_RECHNUNG
。我对Qlikview比较新,他们有NOT NULL的替代方案吗?
答案 0 :(得分:0)
可能的解决方案可能是:
LET inacceptable_value = -1 ;
Goods_In :
NoConcatenate
LOAD
*
WHERE GI_Number <> '$(inacceptable_value)' ;
LOAD
alt( WEL_ORIG &'/' & WEL_EINGANG , '$(inacceptable_value)' )
AS GI_Number ,
WEL_RECHNUNG AS SI_Fut_Invoice_No
;