Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
brindlogcool
Creator III
Creator III

Calculation on fly

I had set the measure title and titles as false but still the title is showing as  =Count(session_id)



  app.visualization.create('kpi',

        ["=Count(session_id)"],

        {"showTitles":"false","showMeasureTitle":"false","textAlign": "center" }

    ).then(function (visual) {

        visual.show('QV01');

    });-

How to fix it ?

1 Solution

Accepted Solutions
Aiham_Azmeh
Employee
Employee

Hi,

Try to just remove the double quotes for the boolean values:

"showMeasureTitle":"false" => "showMeasureTitle":false

app.visualization.create('kpi',

        ["=Count(session_id)"],

        {"showTitles":false,"showMeasureTitle":false,"textAlign": "center" }

    ).then(function (visual) {

        visual.show('QV01');

    });


Hope this helps,

View solution in original post

2 Replies
Aiham_Azmeh
Employee
Employee

Hi,

Try to just remove the double quotes for the boolean values:

"showMeasureTitle":"false" => "showMeasureTitle":false

app.visualization.create('kpi',

        ["=Count(session_id)"],

        {"showTitles":false,"showMeasureTitle":false,"textAlign": "center" }

    ).then(function (visual) {

        visual.show('QV01');

    });


Hope this helps,

brindlogcool
Creator III
Creator III
Author

Thanks Aiham, I missed the details of where to use the quote and not..After your answer i went through the document and found the same...