Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

compare fact table with mutation table

I have loaded 2 tables:

facts:

Key, Value

A , 10

B,  20

C, 30

Mutation

Key, Value

B, 5

Facts table contains in real 100mil records

I want a pivot showing:

Dim, Sum(Value)

A, 10

B, 5

C, 30

What is the fasted way to eliminate B = 20?

B should be not counted in the facts, because B exists in the mutation table

I don't want to solve this in the load script with joining or keep. because loading a 100mil records qvd for 1 mutation records is slow

1 Reply
marcus_sommer

You could try it with the following approach:

sum(alt(ValueMutation, Value))

- Marcus