Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My script to remove null values from the data is not working
Transaction:
Load
[Refund Qty],
[Refund Reason No] as [Refund Reason Number],
[Refund Reason Desc] as [Refund Reason Description]
Resident Summary
Where not IsNull([Refund Qty]);
please help
What about this?
Transaction:
Load
[Refund Qty],
[Refund Reason No] as [Refund Reason Number],
[Refund Reason Desc] as [Refund Reason Description]
Resident Summary
Where [Refund Qty]>0 or Not Match([Refund Qty],'-');
Transaction:
Load
[Refund Qty],
[Refund Reason No] as [Refund Reason Number],
[Refund Reason Desc] as [Refund Reason Description]
Resident Summary
Where not isnull[Refund Qty] or Not Match([Refund Qty],' ');
What about this?
Transaction:
Load
[Refund Qty],
[Refund Reason No] as [Refund Reason Number],
[Refund Reason Desc] as [Refund Reason Description]
Resident Summary
Where [Refund Qty]>0 or Not Match([Refund Qty],'-');
Transaction:
Load
[Refund Qty],
[Refund Reason No] as [Refund Reason Number],
[Refund Reason Desc] as [Refund Reason Description]
Resident Summary
Where not isnull[Refund Qty] or Not Match([Refund Qty],' ');
You could also do the following:
Transaction:
Load
[Refund Qty],
[Refund Reason No] as [Refund Reason Number],
[Refund Reason Desc] as [Refund Reason Description]
Resident Summary
Where [Refund Qty]>0 or Not Match([Refund Qty],'-') and Year(DATE_FIELD)<2020;
Hi
That solution did not help.
Is there no way that I can completely delete the null and blank fields as it is still displaying in the data.
In this way it will remove the year(2020 and 2021) automatically.
You want to remove nulls and blanks from the data itself right and may i know in which field you are getting this year.
can you please share the mock data based on that we will try to give some solution
Transaction:
Load
if(length([Refund Qty])>0,[Refund Qty],if([Refund Qty]=' ','NA',if(isnull[Refund Qty],'NA',[Refund Qty]))),
[Refund Reason No] as [Refund Reason Number],
[Refund Reason Desc] as [Refund Reason Description]
Resident Summary
this condition will help u to find the null and space character
Hi
The "if" expression is coming up as an error.