Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Inputfields reset and group by

Hi,

I am creating a simple table inside the script with two inputfields:

Inputfield VolRec,MixRec;

Reconciliation:

Load * INLINE [

CostRec,VolRec,MixRec

Industrial,0,0

Logistic,0,0

];

The problem it occurs is that the end user would like to keep record on the input values for different months i.e when they change month the values in Reconciliation table shoud change accordingly and if there have not been put any values for the selected month it should show 0.

I would very much like that this reset if possible happens in the script on reload.

Thank you!

1 Solution

Accepted Solutions
Not applicable

Inputfields reset and group by

After some working around this is how i've put the month

Inputfield VolRec,MixRec;

Reconciliation:

LOAD * INLINE [

MONTH,CostRec,VolRec,MixRec

1,Industrial,0,0

1,Logistic,0,0 

2,Industrial,0,0

2,Logistic,0,0 

3,Industrial,0,0

3,Logistic,0,0 

4,Industrial,0,0

4,Logistic,0,0 

5,Industrial,0,0

5,Logistic,0,0 

6,Industrial,0,0

6,Logistic,0,0 

7,Industrial,0,0

7,Logistic,0,0 

8,Industrial,0,0

8,Logistic,0,0 

9,Industrial,0,0

9,Logistic,0,0 

10,Industrial,0,0

10,Logistic,0,0 

11,Industrial,0,0

11,Logistic,0,0 

12,Industrial,0,0

12,Logistic,0,0      

];

4 Replies
v_iyyappan
Valued Contributor

Inputfields reset and group by

Hi,

Just remove the 'Inputfield VolRec,MixRec' in load script and change the value of VolRec,MixRec and reload the

File. Definitly change the data in VolRec,MixRec.

Regards,

Iyyappan

Not applicable

Inputfields reset and group by

The whole idea is that the end user changes the data in VolRec and MixRec in order to manipulate a chart. We discussed that maintenance of a separate excel table for that purpouse would be very complicated from organization poin ot view. So i think I can't get away from inputfields.

Regards,

icehorde

dennisnet
Valued Contributor III

Re: Inputfields reset and group by

Maybe you can try to following in your script:

if IsNull(VolRec) then;                         LET Volrec                        = 0     ; end if;

if IsNull(MixRec) then;                         LET MixRec                       = 0    ;  end if;

Is this what you are looking for?

Good luck,

Dennis.

Not applicable

Inputfields reset and group by

After some working around this is how i've put the month

Inputfield VolRec,MixRec;

Reconciliation:

LOAD * INLINE [

MONTH,CostRec,VolRec,MixRec

1,Industrial,0,0

1,Logistic,0,0 

2,Industrial,0,0

2,Logistic,0,0 

3,Industrial,0,0

3,Logistic,0,0 

4,Industrial,0,0

4,Logistic,0,0 

5,Industrial,0,0

5,Logistic,0,0 

6,Industrial,0,0

6,Logistic,0,0 

7,Industrial,0,0

7,Logistic,0,0 

8,Industrial,0,0

8,Logistic,0,0 

9,Industrial,0,0

9,Logistic,0,0 

10,Industrial,0,0

10,Logistic,0,0 

11,Industrial,0,0

11,Logistic,0,0 

12,Industrial,0,0

12,Logistic,0,0      

];