Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

how can i link these? do i need AGGR?

i have 2 tables:

table I:

date, value1

table II:

date, value2, type

i want my pivot chart like this:

dimensions: date, type

expr : sum(value1), sum(value2).

value2, looks ok, but value1 has the problem because there is no type dimension in the source.

how can i split the sum of value1 into type, based on the ratio between types based on the sum of value2 of that day?

2 Replies
IAMDV
Luminary Alumni
Luminary Alumni

Have you considered using Indirect Set Analysis? I had used the Indirect Analysis for similar requirement.

Good luck!

Cheers - DV

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Amybe something like this?

sum(Value1 * Value2) / sum(total <Date> Value2)

This shoud work, I think...