Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to add a new field name 'No" as LOCAL_PRODUCT into my QVD table ?

Hi All

Below is the script which i load 2 QVD table.

PRICE:

load * from $(vQVDPath)BECKHOFF.qvd (qvd);

Concatenate

load * from $(vQVDPath)HAKKO.qvd (qvd);

My Question now is i want to add a new field name , let said :-

'No" as LOCAL_PRODUCT,

I try using the above line , i got error. any advise ?

Paul

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Also note that a table box is not an ideal object to show you what is in an internal table. A table box is really like a set of list boxes that show you the unique field value combinations for the current selection. If ever a field value of NULL pops up, that'll cause a new row to be displayed in a table box if and only if that same row hasn't been displayed already before.

View solution in original post

16 Replies
Not applicable

Hi Paul

Use single quote 'No' as fieldname

best regards

Chris

paulyeo11
Master
Master
Author

Hi Chri

I use below code , it still not work.

'No' as BRAND_PRODUCT

Previous was typing mistake.

Paul

Not applicable

You will do it like this.

PRICE:

LOAD *,

     'No' as  BRAND_PRODUCT

FROM $(vQVDPath)BECKHOFF.qvd (qvd);

CONCATENATE

LOAD *

FROM $(vQVDPath)HAKKO.qvd (qvd);

Regards,

Marius

antoniotiman
Master III
Master III

Hi Paul,

try

Load *,

Null() as BRAND_PRODUCT

From $(....) (qvd);

Concatenate

Load

......

paulyeo11
Master
Master
Author

Hi All

Thank you for your reply.

I have try both advise still not able to make it work.

I have a table which is working fine. which having 8704 row of rec.

I have 2nd table which having 9 Rec.

Both table are in QVD file.

Now i need to add a new filed to filter first Table rec , i get stuck.

Hope some one can advise.

Paul

Not applicable

Hi Paul,

Kindly send us a sample of your QlikView model.

Thanks,
Marius

paulyeo11
Master
Master
Author

Hi Mariuis

I have enclosed the QV doc , which have my data model in side.

Paul

Not applicable

Do you simply want to display 8704?

If you simply want to display the calculated figure 8704?

paulyeo11
Master
Master
Author

Hi Sir

I want to seperate the 2 table by a field name.

Paul