Using multiple dimensions for a Dimension Extraction Function

Hi,

Should it possible to use multiple dimensions for a dimension extraction function?

Something like:

{

“dimensions”: [

“plain_dimension”,

{

“type” : “extraction”,

“dimensions” : [“timezone”,"__time"],

“outputName” : “localTimeOfDay”,

“extractionFn”:{

“type” : “javascript”,

“function” : “function(timezone, __time) { return some_calculation_based_on_the_two_fields }”

}

}

],

}

Regards,

-Stefan

Hi Stefan, that’s not currently possible, but we are looking to add this since we have a similar use-case. Extraction functions take a different path to allow for some optimizations, so this will require some work.

Shoot, there goes my localTimeOfDay promise!

please add it soon :slight_smile:

thnx, Stefan