Discussion Board for collaboration related to QlikView App Development.
Hi,
We need to remove duplicates which is refering for unique ID.
For one product ID we are getting two supplier one is null and one is supplier name.
Here we need to remove the null supplier.
Please find the below for reference.
Thanks..
If this could have been resolved in the script, that would have been the best approach. For front-end solution try like:
Sum({<Supplier={'*'}>} [YourField])
Or,
Sum({<Supplier={"=Len(Trim(Supplier))>0"}>} [YourField])
try to suppres null values in the properties
or
try
sum(disticnt FieldName)
If this could have been resolved in the script, that would have been the best approach. For front-end solution try like:
Sum({<Supplier={'*'}>} [YourField])
Or,
Sum({<Supplier={"=Len(Trim(Supplier))>0"}>} [YourField])
Hi,
Try to create calculated dimension like below
method 1:
=if( len(Supplier)>0,Product_ID)
and make sure to suppress null value.
method 2:
dimension,
product_id
supplier
create measure
sum( {<Supplier={"=len(Supplier)>0"}>}Qty)
method 3:
exclude null supplier from back end script using where clause.
load * Inline [
Product_ID,Supplier,Qty
0021020919,ABC,1518
0021020919,,1518] where len(Supplier)>0;
Hi,
Both were correct.
But can mark only one as correct.
Thanks..