Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to detect loaded field and values ,data reduction on post reload

Hi,

My requirement is initially we load the data from excel. And after for data reduction we load the field and values from xcel and qlikview has to identify the loaded field and value to reduce on post reload.

Ex:-Initially loaded 10 item and to delete items 3,4 and 5.we pass these values from excel and qlikview has to identify automatically these field and values to remove after reload.

Can anyone help on these issue.

Kindly check the attachment.

Thanks,

Anil

16 Replies
sunny_talwar

You might be able to use Where Not Exist(Item1, Item) Where Item1 will be a field from your already loaded table

krishna_2644
Specialist III
Specialist III

See attached.

Hope that helps.

Not applicable
Author

customer wants to be generic and he don't known which field and values to reduce.

In the ex i just mention item 3,4 and 5.

In real case ,we have to give choice to any field or value.(Ex:Field items,Status and Store)

sunny_talwar

Try this script:

Table:

LOAD *,

  Item as Item1;

LOAD * Inline [

Item, Status, Store

3, 247, 25

4, 248, 24

5, 247, 25

];

Concatenate (Table)

LOAD Item,

    Status,

    Store

FROM

(ooxml, embedded labels, table is Sheet1)

Where not Exists(Item1, Item);

DROP Field Item1;

Not applicable
Author

we don't known the exact field and value to reduce the data but it should be more dynamic that is applicable for any field and values.

krishna_2644
Specialist III
Specialist III

See attached for custom data reduction.

Not applicable
Author

ok..but input field and value should be come from external excel sheet.While loading it should detect and reduce the data not from the input box.

krishna_2644
Specialist III
Specialist III

Oh, you mean user enters values which has to be reduced in an external excel sheet? or in the application itself?

Not applicable
Author

yes..values to be reduce present in the excel sheet and while loading the data it has to identify and reduce those values in data model.