The FileDir function returns a string containing the path to the directory of the table file
currently being read.
Syntax:
FileDir()
Scripting examples
Example
Result
Load *, FileDir( ) as X from [lib://DataFiles/Region.txt]
Will return
'lib://DataFiles' 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.