@silent() function

4.18K viewsQuantrix Feedback

Hi everybody.
The latest version of QM introduced the “meta” functions for inspecting item and category information about calculated cells. They are very useful.
Among them I have found a @silent() function. The help gives the following description:

@silent (Category)
Permutes the returned values from other meta functions for each item along the specified category.
Category:Category to permute with

Sorry, but I could not figure out what this function achieves.
Mike: may you please shed some light?


Brilliant. I did not make the connection to the #Size error which is a constant thorn in my side when writing SELECT statements. Very useful tip.


Thank you for sharing Luca!


Finally I’ve got how useful the new “meta” @functions are!
They are used for creating node names (i.e. category, group, item with various nesting levels) and for composing range names.
They can be combined with the “:” operator, so if you want to calculate a cell name combining the “full” item names along its dimensions (let’s say categories A, B and C), you can write:
or equivalently (and more shortly)
Please note that the “@” character must be used only once at the beginning of the expression.
And what about @silent()? It’s a magical remedy for the #size error that you get in formulas using select(value list,key list,key), when the key list is made of node names or range names. As an example, if you want to select elements from a two-dimensional value list by item name of a given category , the key list cannot be defined by the “old” @<category>, which returns a list sized as the category (nr of elements = nr of items), because key list and value list would have different size. In order to get a key list with the correct size, “repeating” the item name along the second category in the value list, you can use:
I enclose a simple model showing this in action.
Hope this helps some other user.


Thanks, Mike, now it’s crystal clear.


Hello Luca – thank you for posting:

I had to check with engineering on this one. 🙂 Its basically a way to return a single item multiple times along a different dimension… without the other dimensions values being part of what is returned. We had this in 3.6 but it was just using (categoryName). The @silent works better with the new meta functions you refer to.

The attached model may help.