For Example, I have a table where my associates are using a background color to denote status. I would like to get counts of each status by looking at the bgColor of the cell.
Ultimately I'd like to use case like this:
SELECT COUNT(
CASE WHEN t1.'Developer' FORMATWIKI("{cell:bgColour=Medium green}")
THEN "COMPLETE") END AS Complete,
COUNT(CASE WHEN t1.'Developer' FORMATWIKI("{cell:bgColour=Yellow}")
THEN "COMPLETE") END AS "In Progress"
FROM T*
Here is what I have tried:
SELECT *
FROM T*
WHERE FORMATWIKI("{cell:bgColor=Medium green}")
This appears to bring back all rows no matter what color I use.
Select * FROM T* WHERE T1.'Developer' = FORMATWIKI("{cell:bgColor=Medium green}")
This brings back no rows.