The FileName function returns a string containing the name of the table file currently being
read, without path but including the extension.
Syntax:
FileName()
Scripting examples
Example
Result
LOAD *, FileName(
) as X from
lib://DataFiles/abc.txt
Will return
'abc.txt' in fieldX in each record read.
Field
A field contains values, loaded from a data source. At a basic level, a field corresponds to a column in a table. Fields are used to create dimensions and measures in visualizations.