Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Chandan_Nadve
Contributor II
Contributor II

When to use the single quote ( ' ) and double quote ( " ) in expressions.

Dear All,

I need a clarification on usage of   single quote ( ' ) and double quote ( " " ) .

I used a set analysis expression as

Old Expression :  Sum({<DocDate={'>=$(v_fromdate)<=$(v_todate)'}>}Sales_Amount)

Corrected Expression :  Sum({<DocDate={"=$(v_fromdate)<=$(v_todate)"}>}Sales_Amount)

Initially i used single quote in the expression which highlighted in bold, but it is not worked.

Later i used the double quote its worked.

Just I want to understand where and all we can use single quote and double quote while we are mentioning string in Expressions.

Thanks in advance

Regards

Chandan

2 Replies
maxgro
MVP
MVP

For single and double quotes in set analysis ("Quotes in Set Analysis")

https://community.qlik.com/t5/Qlik-Design-Blog/Quotes-in-Set-Analysis/ba-p/1471824

For script ("QlikView Quoteology")

https://community.qlik.com/t5/Qlik-Design-Blog/QlikView-Quoteology/ba-p/1476029

 

 

Chandan_Nadve
Contributor II
Contributor II
Author

Thanks a lot for the information @maxgro  ..