Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
patrou38
Creator
Creator

variable update issue

hello,

in the script below I capture the name of the file which is put in the field 'NomDeFichier' <== this works fine

after I tried to put the part 'W201712' in the variable 'vNameQvd' with out success. the function SubField(NomDeFichier,'_',7) work properly.

My ONLY problem after a lot of trials I cannot put the result of my function Subfield 😞 maybe it's a syntax issue ?

Please I need help !!!!

Load Distinct ToCheck, filebasename( ) as NomDeFichier
from ;
LET vNameQvd = SubField(NomDeFichier,'_',7); // <== doesn't work !!!!
store BO into BOvsEDA_$(vNameQvd).qvd (qvd); 

thank you in advance

Patrick

1 Solution

Accepted Solutions
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

LET vNameQvd = SubField(Peek('NomDeFichier', 0), '_', 7);

Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

2 Replies
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

LET vNameQvd = SubField(Peek('NomDeFichier', 0), '_', 7);

Help users find answers! Don't forget to mark a solution that worked for you!
patrou38
Creator
Creator
Author

Thank you very munch