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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

simulation

hi everyone,

I wonder if its possible,please look at the attached file.

Each project has his own cost,in addition there is a column that shows the new cost

by changing the value of a variable named simulation. ("what-if" )

Well the users want to do that:

1) selecting one of the projects (lets say proj3)

2) then change the value of the variable simulation (with the bar) to lets say 60 (now they will see at the chart the old cost-360 and the new cost-420) .

3) BUT now when they will undo their selection (press "clear") they what to see that in

the column "simulation" the only value which has been changed is the one corresponding to proj3!

And the other projects hasn't changed their values.

Do you think it is possible??

Thanks in advance

5 Replies
Not applicable
Author

Hi David,

try to use an InputField.

See attached application.

Good luck!

Rainer

Not applicable
Author

First of all THANX Rainer.

BUT....

Most of the times the users will use the simulation bar to change the values of all of the projects simultaneously so input field is

not good enough--> by your solution they will need to enter each cell for each project and change it (and there are a lot of projects...).

Another problen is that the simulation bar is in % and if the cost of one project is lets say 140774.53 and they want to see what will

happend if the cost will rise in lets say 22% --->by your solution they will need to calculate it first and then put it in

the new field.......

Not applicable
Author

anyone.....? Confused

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I think you can use Set Analysis functionality to recall the last selection:

sum( {$1} Cost) should return the summarized cost for the previous selection.

Obviously, if they keep selecting and deselecting projects, this calculation will keep changing. Maybe, you can enhance it, combining it with the count of projects:

if count(distinct ProjectID) > 1, sum( {$1} Cost), sum(Cost) ) -

e.g. if more than one project selected, use previous selection, otherwise (single project) just summarize costs for that project.

just a thought...

Oleg

Ask me about Qlik Sense Expert Class!
Not applicable
Author

Well Oleg its looking good!

But still I need to do a bit of fitted to it

pls look at the new file:

when I'm selecting "proj2" for example-all of the prijects are still showen in the chart becuse of the set analysis...

I tried to fit your very nice solution to this simple chart,but couldn't done that.... Hmm