# RETIRED: Table Calculations (3.18 Labs Feature)

1 Like

Thanks for this!

Nice feature!

Def will give it a try

is there a way to make table calcs run faster?

Hey @Ari_Stern , weāre always working on making Looker faster. If you have a specific case where table calculations arenāt running as fast as youād hope them to, feel free to send us an email at help.looker.com with your specific example so we can take a look!

Table calculations are great. 1 thing Iād love to be able to have is some sort of totalling feature on table calculations.

Duly noted @nick - Iāll pass your feedback along to the product team!

hello everyone ,
i am a recruiter in mastech and i have an opening for a BI (Dashboard/Reporting Consultant)
Looking for a Looker expert with 0 to 1 year exp on Looker.
its a sure shot offer as the looker experts are hard to find.

regards,
vishesh

Will we ever be able to produce table calculation if function with different type of object outcomes? For example, the outcome could be a number or a string?

@vishesh_dahate may I recommend your post be moved to our hiring board, https://discourse.looker.com/c/news/whos-hiring

@ajlooker Based on how sorting works in the application it would be difficult to return two different types of data in one column (numeric vs. alphanumeric sort). Iām curious what your problem is that is provoking the question though, as there may be some other workaround available.

Hello! I have a question - why do some of my calculations appear before my Count? I notice that these calcs end up not showing in my visualization (ie bar graph). I canāt seem to reorder the columns (of calcs).

Thanks in advance for any help!

@avanmeurs, If a table calculation doesnāt reference a measure, it will be treated like a dimension. By default, dimensions will always appear to the left of measures. Even if we use a table calculation to reference the dimension, i.e. \${dimension_name}, the table calc will appear to the left of measures.

The order of fields from left to right is dimensions, table calcs that reference dimensions, measures, table calcs that reference measures.

There are a couple of ways to work around this

If the dimension based table calc is a number you can do something like this to include a measure in the calc without it affecting the result:

`\${dimension} + ( \${measure} * 0 )`

If itās a string itās a little trickier but something like this would do it:

`if(length(\${dimension_name}) + \${measure} >= 0, \${dimension_name}, \${dimension_name})`

Weāre using the if statement so that we can include a measure in the calculation. It doesnāt really matter if the condition in the if statement is true or false, since it will always return our string dimension.

This will force the calculations to the right of the results. Then you can click `Hide from visualization` on the original fields so that only the table calculations appear in the vis.

Hope that helps! If you have a particular column that is not functioning as expected, you can always shoot an email to help.looker.com and weāll take a look.

1 Like