Forum Discussion

travbum's avatar
travbum
Advocate I
9 years ago
Solved

How many Applied Steps do you use for a typical query?

I've just worked my way through a somewhat more advanced task and it took me 12 steps to complete. I'm wondering if this is excessive and if I should aim to use less?
  • Anonymous's avatar
    Anonymous
    9 years ago

    Unfortunately that's too vague a question to give a sensible answer to. It's like asking "How much water do I need?" Need for what? To drink today? To survive in the desert for a month? To fill a fish tank?

     

    You need exactly as many steps as it takes to get the result you need in by the most efficient means. In the report I have open there are 14 queries. One of them has two steps, and it's one of the largest and most important tables in the whole model. Another one has 21 steps, plus 6 more steps that take place in a different query that is merged with it on step 15.

     

    A better question might be, "Are my query load times as quick as they could be?" If refreshing your data takes a long time, maybe there's a better way to write your query in fewer steps. But maybe there isn't. Fewer steps also might not be more efficient. Sometimes an extra step or two might make things load faster.

     

    Can you give an example of what this query does and how? Maybe there's a better way.