You have a table or macro outputting non-string data that you want to format as string data.
You need to create a separate column displaying the dedicated due quarters based on its source due dates.
Enter the following SQL query:
SELECT *, CASE WHEN TEXT(T1.'Due Date') LIKE "%Jun%" THEN FORMATWIKI("*","Q2","*") WHEN TEXT(T1.'Due Date') LIKE "%Sep%" THEN FORMATWIKI("*","Q3","*") WHEN TEXT(T1.'Due Date') LIKE "%Nov%" THEN FORMATWIKI("*","Q4","*") END as 'Due Quarter' FROM T1 |
The TEXT function formats non-string data (e.g., dates, numbers) as string data, enabling the use and combination of other string functions, such as LIKE, etc. in the Table Transformer macro. |
You can use FORMATWIKI function for the purposes of cell formatting. |