Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

brindlogcool
Contributor 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 ?

Tags (1)
1 Solution

Accepted Solutions
Employee
Employee

Re: Calculation on fly

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,

2 Replies
Employee
Employee

Re: Calculation on fly

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
Contributor III

Re: Calculation on fly

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...

Community Browser