Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
hamza99a
Creator II
Creator II

entering goals

Hey Everyone,

On Qlik Sense I have 2 tables, Deposits and Goals. I need to take the sum of all the balances and divide them by the goal defined in the goal table. The goals are based on Region and Account Type. Below is how the table is to

be set up.

I then need a new column to the right that displays the percentage on how close the sum of the balances are to the goal. Is there a way to connect the tables in the load script? Or can it be done on the front end? I will attach sample data as well. Any help is appreciated!

Thanks,

Hamza

P.S. I cannot use If statements for what I am doing, because I am also including sparklines from VizLib and cannot have if statements in the table. So I believe it should be set analysis or something.

1 Solution

Accepted Solutions
undergrinder
Specialist II
Specialist II

Hi Hamza,

this is a duplicated thread, Re: creating a new field

please see through the original thread, I post you an example of load script+visualization.

goal-fact.png

G.

View solution in original post

4 Replies
hamza99a
Creator II
Creator II
Author

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Your tables will link automatically when field names are the same between two tables.  In this case, rename the Goal fields to remove the "Goal" prefix so the fieldnames (i.e. [Branch Region]) match between the tables.

-Rob

hamza99a
Creator II
Creator II
Author

they did not match and I got an error saying something was wrong with the loop

undergrinder
Specialist II
Specialist II

Hi Hamza,

this is a duplicated thread, Re: creating a new field

please see through the original thread, I post you an example of load script+visualization.

goal-fact.png

G.