Open danielli-ziprecruiter opened 10 months ago
@danielli-ziprecruiter That's a good one! So it's actually right behavior by design, but I agree it might be suboptimal in some cases. The obvious intuition is to always use leaf members for FILTER_PARAMS
but it'll most likely break existing calculated members. So we'd need to think about trade-offs here.
Problem Is this the intended behavior when applying
FILTER_PARAMS
with views? If I useFILTER_PARAMS
in a measure:with a view that uses the cube:
The
FILTER_PARAMS
doesn't apply if I query the view with the SQL API:since this references
my_view.my_dimension
, notmy_cube.my_dimension
.Is this the intended behavior? There are some workarounds like adding the view's dimension as a FILTER_PARAM:
Or joining with the cube so the cube's dimension can be referenced:
But these seem like hacky solutions.