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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
fortaleza40
Contributor III
Contributor III

%field and double quotes use in field, what means this?

Hello Community,

I am new doing scripting in Qlik and in the code i use fieldname AS %fieldname and "fieldname" AS [Fieldname], i suppose % is to not display the field in the report and i don't know the diference between a field with double quotes ("")  and without it, i will like to know to be sure when use this or not, i check documentation and i didn't found about it.

1 Solution

Accepted Solutions
Wlad_Masi
Former Employee
Former Employee

Hello @fortaleza40,

 

The % symbol in your filed can be used to not display the field if you have the variable HidePrefix set to %. 
EX: Set HidePrefix = '%';
Please check out this video:  https://www.youtube.com/watch?v=zyftjogAhtI.

The double quotes you normally use on filed names with more than one word. EX: "Car Name".
I would recommend you to take a look at the file "Tutorial - Scripting for Beginners" in this help page here.

I hope I could help you with your questions.
Please mark this thread as solved if this is the information you were looking for.

To help users find verified answers, please don't forget to mark a correct resolution or answer to your problem or question as correct.

View solution in original post

2 Replies
Wlad_Masi
Former Employee
Former Employee

Hello @fortaleza40,

 

The % symbol in your filed can be used to not display the field if you have the variable HidePrefix set to %. 
EX: Set HidePrefix = '%';
Please check out this video:  https://www.youtube.com/watch?v=zyftjogAhtI.

The double quotes you normally use on filed names with more than one word. EX: "Car Name".
I would recommend you to take a look at the file "Tutorial - Scripting for Beginners" in this help page here.

I hope I could help you with your questions.
Please mark this thread as solved if this is the information you were looking for.

To help users find verified answers, please don't forget to mark a correct resolution or answer to your problem or question as correct.
bbmmouha
Creator
Creator

hello 

we use simple cote in setAnalysis '' if your field = 'one Value'

and we use double "" if your field = "Many values" exemple sum({< field1 = "ABC*" >} CA)