Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone
I have multiple tables with the same filed names but for the different months, in fact my excel names are month and year names.
I want to convert excel name to a field month and year in qlikview.
Is it possible?
I would appreciate if anyone can help me.
Hi,
FilebaseName gives you
Returns a string containing the name of the table file currently being read, without path or extension.
and filename() returns
Returns a string containing the name of the table file currently being read, without path but including the extension.
then use Subfield(),mid(),Month(),Year() as per requirement.
Regards
Hi,
use filename() or filebasename()
Regards
Hi,
FilebaseName gives you
Returns a string containing the name of the table file currently being read, without path or extension.
and filename() returns
Returns a string containing the name of the table file currently being read, without path but including the extension.
then use Subfield(),mid(),Month(),Year() as per requirement.
Regards
Data:
Load FileName()
From sample.qvd (qvd);
Hi,
Try like this
LOAD
*,
FileName() AS FileName
FROM FileName
REgards,
Jagan.