Formula :
COUNT(DISTINCT CASE WHEN KPI(TAT) < <%=SLA%> THEN "PurchasingExample_Test_csv_CASES"."CASE ID" ELSE NULL END)
Error :
Syntax error near THEN] after reading TABLE (COUNT(DISTINCT CASE WHEN KPI(TAT) < ] at line 1. Please refer to PQL documentation for available syntax.