Advanced Capstone 2.3

https://learninghub.kx.com/forums/topic/advanced-capstone-2-3-2

so I'm currently getting the values in the screenshot when i run

.f1.checkSensor[raceDay;lapTable;temp]

.f1.checkSensor[raceDay;lapTable;wind]

.f1.checkSensor[raceDay;lapTable;`all]


I'm slightly confused on what i need to change or add to get the correct values

Hi @masmail

For question 2.3, you must convert the code that is provided within the .f1.checkSensor function into functional form.

So instead of the following select statement:

benchmark:select benchmarkValue:avg sensorValue by sensorId from lapTab;

It must be in the following format:

Functional Select

?[ table; whereConditions; groupBy; selectedColumns]


Let me know if this helps!

Thanks,

Megan