I am trying to Add two column values Column B and Column C based on value in Column A. How can I do that in the Table Transformer SQL
Example TABLE DATA
Col A Col B Col C
USA 10 20
CHINA 05 04
USA 30 20
USA 5 10
Select T1.'COL A',
IF (T1.'COL A' = "USA",1,0) THEN SUM(T1.'COL B', T1.'COL C') AS 'USA TOTAL',
IF (T1.'COL A' = "CHINA",1,0) THEN SUM(T1.'COL B', T1.'COL C') AS 'CHINA TOTAL',
FROM T* GROUP BY T1.'COL A'
I might be wrong. Thanks for your time and help in advance.
This is the Query:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what is the exact filter you're using in Confluence?
I assume you're using the Jira issue macro in a Confluence page, right?
The detailed steps would like here...versions are also important
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.