Hey All, I am receiving the following error when running the following code:
SELECT
COUNT(DISTINCT MEMBER_EMAIL) AS TOTAL_SPORTS,
FISCAL_PERIOD
FROM "PROD"."T"."AE" E
where {{LEAGUE_CATEGORY}} = E.LEAGUE_CATEGORY
GROUP BY 2
ORDER BY 2
The error I am receiving is the following:
SQL compilation error: error line 7 at position 10 invalid identifier 'T.AE.LEAGUE_CATEGORY'
I am not sure why I am receiving it? The variable type is a Field Filter mapped to the League_Category Field. But when I leave the variable type as a string and manually input a League Category I have no issues.