Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Calculation number in table

Pham Ngoc Tuong March 31, 2025

I have a Table with 4 column and numeric date in that 4 column, then i want calcuation and make 5th column with formular :

value column 4 - (value column 3+Value column 2+ value column 1)

how i can do it in table transformer, pls help

2 answers

1 accepted

4 votes
Answer accepted
Alexey Mikhaylov _Stiltsoft_
Contributor
April 1, 2025

Hello @Pham Ngoc Tuong ,

I believe you use Table Transformer of our Table Filter, Charts & Spreadsheets app.

Please confirm that my understanding is correct:

  • value column 4 has dates
  • value column 3, Value column 2, value column 1 all have simple numbers (which are days for the purposes of your calculation)
Pham Ngoc Tuong April 1, 2025

Hi Alexey, yes, i'm using table transformer for calculation

all 4 column are simple number, base i was convert date diff from other column to column 1 to 4. so now, i want calculate GAP beet ween them

Alexey Mikhaylov _Stiltsoft_
Contributor
April 1, 2025

Hello @Pham Ngoc Tuong ,

Based on the described case, please try this simple SQL query:

SELECT 

T1.'value column 4' - (T1.'value column 3' + T1.'Value column 2. + T1.'value column 1') AS 'value column 5'

FROM T1

Like • 2 people like this
Pham Ngoc Tuong April 1, 2025

Hi Alexey!

perfect, now i can work follow your guideline, Thanks you so much

Like • Alexey Mikhaylov _Stiltsoft_ likes this
Pham Ngoc Tuong April 1, 2025

Hi Vronik!
thanks for your feedback, but i still not find out how is solution for my case, could you help to check and give me details solution for my case, 

2nd link only show for sum of row, but i need base on 4 column with numeric format, i can make a fomular for summary and minus also folllowing is : 

value column 4 - (value column 3+Value column 2+ value column 1) as new column data

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events