Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Mahamed_Qlik
Specialist
Specialist

Quote to Text

Hi All,

I want to display text with double quotation mark in KPI object in qliksense.
Existing :

mahamedfaijan_0-1659858249480.png


Expecting :

mahamedfaijan_1-1659858275226.png

 

Kindly suggest.

Regards,

Mahamed

 

 

Labels (1)
10 Replies
Or
MVP
MVP

I'm not sure what the issue you're having is - there's no problem with double quotes in KPIs that I've ever noticed?

Or_2-1659862124599.png

 

 

 

Mahamed_Qlik
Specialist
Specialist
Author

Thanks for the response.
Company name is the dimension and displaying using some expression.

I need the expression to display double quote

sidhiq91
Specialist II
Specialist II

@Mahamed_Qlik I just used to below Expression in the KPI.

'"Qlik Tech"'

sidhiq91_0-1659862441276.png

 

Mahamed_Qlik
Specialist
Specialist
Author

Dear Sidhiq,

For hardcoded text it is working fine.
I using below expression to display company name

Aggr(If(COUNT(distinct Emp_Id)) <= 1, [Company name]), [Company name]))

Or
MVP
MVP

In my screen capture, the expression is displaying double quotes with no issues. Are you sure your expression actually returns a string which includes double quotes?

Mahamed_Qlik
Specialist
Specialist
Author

My Dimension does not have double quotes included.

Or
MVP
MVP

That formula does not parse - too many ')' - but after fixing it, there's no problems with the KPI object.

Aggr(If(COUNT(distinct Emp_Id) <= 1, [Company name]), [Company name])

Load '"Company Name Here"' as [Company name], 1 as Emp_Id
Autogenerate(1);

Or_0-1659863034250.png

 

venkatesh7
Partner - Contributor II
Partner - Contributor II

@Mahamed_Qlik  try below one, it will meet your requirement

 

Tab:
Load * Inline [
Company Name
Qlik Tech
Qlik
Qlik Sense
Qlik View
];

Tab2:

load

[Company Name],

'"'&[Company Name] &'"' as [Company Name Quote]

Resident Tab;

Drop Table Tab;

Mahamed_Qlik
Specialist
Specialist
Author

I want to handle this on front end not in script.