Hi support, in my Collect database I have some boolean fields (e.g. whether a sample point belongs to a certain special management or not). These boolean fields don't show up in Saiku, but I need them as filters. How to get them there? Do I need to define a category for that? A small example code would help me a lot.
Accepted answer
Hi. In Calc, I got (computed) boolean variable to Saiku, works quite similarly with boolean fields:
1) create category:
0='no', 1='yes'
2) R script:
tree$tree_is_alive <- ifelse( tree$tree_health ==5, 0, 1 )
Regards, Lauri