Hey Dude! Where's my filter?

We all have to agree, MicroStrategy has a lot of features and offers a lot of control over them, but sometimes I feel I'm in the cockpit of a 747, with hundreds of knobs and switches and the worst part is: you don't know what you're going to break.


Several years back, after couple of months deep into MicroStrategy, happened many times, in a report, to add filters and yet, the SQL generated to be incomplete. Incomplete as in not all filters in the report are part of the WHERE condition. After hustling for a while, I finally discovered the missing piece of the puzzle. There's a hidden set of options, at the metric condition level, controlling the interaction of those filters with the report filters.


By default, MicroStrategy, will remove the report filter(s) based on the attribute being part of the same hierarchy, as the attribute used in the metric condition filter.

That's why you can also be blindsided, if you don't correctly set the attribute relationships (System Hierarchy), so that they are part of the same hierarchy. But, this can also be a good thing, because you are in control of deciding if you relate the attributes or you disable the option at the metric level. This really depends on the project's constraints and specificities

This is one example of the great flexibility the tool offers. Sometimes you feel overwhelmed, occasionally frustrated, by this kind of options present all over the place, but if I learned something about MicroStrategy, is that if you give it enough time, you'll get what you want out of it.

Comments

Popular posts from this blog

The count distinct adventure - Part I

The count distinct adventure - Part II

The surrogate key strikes back