Why do I need a Helper when I know the Item?

Solved3.32K viewsFormulas and Functions

Hi there,

Quantrix is logical und structured, and a cool thing. But there is one thing I do not understand, and I’m crossing the same thing in a lot of places, when doing SELECT statements, or in other places. I’m still not sure if my brain is twisted or if it is Quantrix 🙂

I compiled a very simple example to illustrate the point.

In a 3-dim matrix, I want to select one index on one dimension, sum over the second dimension, and do it for all elements in the third dimension.

Easy, as I know the item I want to slice – “S1” – by name.

I do not find a way to do this … not using the item name, not using the descriptor. Everybody is doing this using a helper. Why do I need to convert the address to content, and then search the cell content to get back the address of the cell?? This looks very inefficient to me.

Is there anybody out there who can fix my mind? Or show me how to solve the problem without a helper column (and yes, I know how I can do it if both matricies have the same structure and linked categories, I could sum over all “Sektor”-items, but that’s not what I want to do …

Thanks for your help, Gilbert

Gilbert Selected answer as best November 18, 2022

Hi Gilbert, try this maybe? I could be misunderstanding your goal, but I don’t know that sumif() is needed…I’ve done this with a “using as” but could also be done with a script. Let me know if it helps?

lyndseyweber Posted new comment November 16, 2022

Ooops, not a script, I meant with a select statement.

You are viewing 1 out of 12 answers, click here to view all answers.

Latest Questions