fixed drill through SQL construction for snowflake dimensions