Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculations in Straight Tables

Hi everyone,

I have a question about how to get some calculations in Straight Tables.

I will show mi doubt with an example:

If I have a table like this:

FIELD1 FIELD2 *FIELD3

1 100 100

2 180 90

*TOTAL 3 280 95

*FIELD3 = FIELD2 / FIELD1

* TOTAL -> (SUM(FIELD1) , SUM(FIELD2) , AVG(FIELD3))

But I´d like to have something like this

FIELD1 FIELD2 *FIELD3

1 100 100

2 180 90

*TOTAL 3 280 ( SUM(FIELD1) / SUM(FIELD2) )


How can I get it ???

Thanks a lot

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

Expression 1 = sum(FIELD1)
Expression 2 = sum(FIELD2)
Expresison 3 = sum(FIELD2)/sum(FIELD1)

Total Mode for all expressions = Expression Total

View solution in original post

2 Replies
johnw
Champion III
Champion III

Expression 1 = sum(FIELD1)
Expression 2 = sum(FIELD2)
Expresison 3 = sum(FIELD2)/sum(FIELD1)

Total Mode for all expressions = Expression Total

Not applicable
Author

Thanks a lot