exceldecode
  • 1 Minute to read
  • Dark
    Light
  • PDF

exceldecode

  • Dark
    Light
  • PDF

Article summary

Creates a mapping between a source value and a new output value by reading codes from excel

KeyValue(s)Description
method"buildBakedField"Creates a mapping between a source value and a new output value by reading codes from excel
targetTable"TableName"
p1"SourceFieldName"
overwritetrue/false
name"DecodeName"
function"exceldecode"
forceStringtrue/false
workbook"WorkbookPathandFile"
worksheet"WorksheetName"
codeColumn"ColumnLetter"The column to look in for the existing field value (input value).
e.g., A
decodeColumn"ColumnLetter"The column to look in for the decode value (output value)
e.g., B
wildtrue/false
regextrue/false
rowRowNumber

{Explanation}

{
  "method": "BuildBakedField",
  "project": "SalesData1",
  "targetTable": "Sales",
  "p1": "Product",
  "overwrite": true,
  "name": "Segment Code",
  "function": "exceldecode",
  "forceString": false,
  "workbook": "%DATAPATH%05_LookupFiles/ClothingDecodes01.xlsx",
  "worksheet": "Article Scoring Table",
  "codeColumn": "A",
  "decodeColumn": "B",
  "wild": false,
  "regex": false,
  "row": 2
}



Was this article helpful?