Advance Capstone : 2.5 need help

https://learninghub.kx.com/forums/topic/advance-capstone-2-5-need-help

I tried to add below attributes in the sensor table but I’m still struggling to bring down the runtime of .viz.createDashboard

 

system"l ",getenv[`AX_WORKSPACE],"/AdvancedCapstone.Setup/dbmaint.q"  
setattrcol[`:.;`sensor;`lapId;`g]  
setattrcol[`:.;`sensor;`sensorId;`g]
c          | t f a
-----------| -----
date       | d
sensorId   | s   g
time       | t
lapId      | j   g
units      | s
sensorValue| f
session    | s
Please help.

You might be better off with a p attribute

c
t f a
date d
sensorId s p
time t
lapId j
units s
sensorValue f
session s