We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! When we use FILTER_GROUP in measures, we get a RangeError: Maximum call stack size exceeded.
Model:
cube(`test`, { sql: `select 1 as value, '1' as name`, measures: { metric: { sql: `value`, type: `avg`, filters: [ { sql: `${CUBE}.name = ${FILTER_GROUP(FILTER_PARAMS.test.name.filter((kpi) => kpi))}` } ], }, }, dimensions: { name: { sql: `name`, type: `string` }, value: { sql: `value`, type: `number` } }, });
Query:
{ "dimensions": [ "test.name", "test.value" ], "measures": [ "test.metric" ], "filters": [ { "values": [ "1" ], "member": "test.name", "operator": "equals" } ] }
Without FILTER_GROUP with FILTER_PARAMS... AND FILTER_PARAMS... .... works fine.
The text was updated successfully, but these errors were encountered:
Which version of Cube are you using? Is it the latest?
Sorry, something went wrong.
@igorlukanin Yes
igorlukanin
No branches or pull requests
Hi! When we use FILTER_GROUP in measures, we get a RangeError: Maximum call stack size exceeded.
Model:
Query:
Without FILTER_GROUP with FILTER_PARAMS... AND FILTER_PARAMS... .... works fine.
The text was updated successfully, but these errors were encountered: