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: 
gfisch13
Creator II
Creator II

Add a blank field

I'm trying to understand if QV will support placing a field in a blank field in a table, thinking this needs to be done in the load script.

Would it be possible to turn that new field into some type of user input field to mark a record as reviewed?

Ideally - I'm trying to create a workpaper. Just trying to understand if this is even possible or I'm spinning my wheels. Thanks, George

Labels (1)
2 Solutions

Accepted Solutions
Kushal_Chawda

You need to add field as blank value. It will give you error as you don't have such a field in your data so you need to create it like below

inputfield Reviewed;

EMEACitiData:

LOAD *,

          '' as Reviewed

FROM Data;

 

View solution in original post

Kushal_Chawda

You can create distinct recorof employee ID by creating new field

 

inputfield Reviewed;

Data:

load *,

         Employee ID

FROM Source;

DistinctEmployee:

load distinct Employee ID,

                           Employee ID as Distinct_Employee,

                           '' as Reviewed

resident Data;

Now use Distinct_Employee field in tablebox

View solution in original post

12 Replies
Kushal_Chawda

Can you please elaborate?

gfisch13
Creator II
Creator II
Author

Sure.......the attached is a view in its simplest form.   

I have a list of purchase order numbers, next to that I'd like to place a blank field which I can probably do in excel, but, I'd like to allow the user to put some entry next to the purchase order number that he already reviewed so that he doesn't have to look at it again. 

I'm just not sure if QV allows this activity and have not found much text regarding it.

Appreciate the help Kush!

Brett_Bleess
Former Employee
Former Employee

Believe you are referring to Input Fields:

https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/Input...

Design blog post that may be of some help too:

https://community.qlik.com/t5/Qlik-Design-Blog/Loading-Data-into-Input-Boxes/ba-p/1469453

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
Saravanan_Desingh

Try using INPUTFIELD. This will provide you to edit the Field.

INPUTFIELD Reviewed;

tab1:
LOAD * INLINE [
    Purchase Order, Reviewed
    111111
    222222
    333333
    444444
    555555
    666666
];

commQV59.png

gfisch13
Creator II
Creator II
Author

If I use the INPUTFIELD as you mention, can the user then fill that field with any value?  I'm thinking that I would also be able to filter on the values of that field?

gfisch13
Creator II
Creator II
Author

Thanks Brett - this gets me part of the way there, and is an option I didn't realize existed.  Thanks for the input.

gfisch13
Creator II
Creator II
Author

when I try to add the INPUTFIELD to my script, its generating a 'Field Not Found' error.    I'm trying to add the field to one of my tables, is this syntax incorrect?   Thanks!

(see attached)

Brett_Bleess
Former Employee
Former Employee

Check out this other Help link, there are some examples there etc., hopefully that will help you confirm things:

https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/Scrip...

I am not all that great at the development questions myself, more of a backend/server guy, sorry.  Hopefully one of the others that is better at it will stop by again and provide some additional guidance.

Cheers,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
Kushal_Chawda

You need to add field as blank value. It will give you error as you don't have such a field in your data so you need to create it like below

inputfield Reviewed;

EMEACitiData:

LOAD *,

          '' as Reviewed

FROM Data;