Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
exfosteve
Partner - Contributor III
Partner - Contributor III

Table summary - how to do it?

I have the following Table structure loaded, and I want to build a straight table with the structure below.  I've been trying to get this to work with aggr(), but I haven't been able to figure it out.  any help would be greatly appreciated.

systemtype 1Type2

A

1
A5
B2
B3
C7
C5
A3
A5
B2
B8
C6
C4

Systemavg(Type 1)avg(type 2)
A34
B2.55
C125
1 Solution

Accepted Solutions
tresesco
MVP
MVP

A simple straight table should work.

Dim: System                   

Exp1: Avg([Type 1]

Exp2: Avg([Type 2])

Capture.JPG

View solution in original post

4 Replies
tresesco
MVP
MVP

A simple straight table should work.

Dim: System                   

Exp1: Avg([Type 1]

Exp2: Avg([Type 2])

Capture.JPG

jonathandienst
Partner - Champion III
Partner - Champion III

And simply using the Avg()'s as in your post does not work? What output do you get and what do you require? Why do you think that you need an Aggr()?

Remember the Qlik engine is case sensitive, so [type 1] and [Type 1] are different fields. Same applies to Type2 and [type 2].

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
shiveshsingh
Master
Master

Your expected output for system C, type1 is wrong.. It should be 6.

Now use Avg([Type 1], Avg([Type 2]) as ur expression.

ahammadshafi
Creator
Creator

Hi Steve:

Is it something you are looking for?