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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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...