2023.09.22 04:03 AM
I have a data source which returns the simple table below, containing 3 columns and a single row
a b c
-----
1 2 3
Whats the best way to assign the values 1,2, and 3 to separate viewstate parameters?
eg: view_state_param1 = 1, view_state_param2 = 2, view_state_param3 = 3
I need a method which scales well as the number of columns increases.
Thanks
2023.09.22 05:26 AM
After a bit more digging I realised I can do this easily using the Mapping option, https://code.kx.com/dashboards/datasources/#mapping
I just changed the table structure to have a sym column with values `a `b and `c and keyed it
2023.09.22 05:26 AM
After a bit more digging I realised I can do this easily using the Mapping option, https://code.kx.com/dashboards/datasources/#mapping
I just changed the table structure to have a sym column with values `a `b and `c and keyed it
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.