Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Akansha
Contributor II
Contributor II

How to set calculation condition of an extension object in the extension code

I have an extension object ( a table) which should show data if all of given 6 filters are selected .

I can add the "Addons" section in the extension property and provide the calculation condition in reports but I have about 180 reports using the same extension and they all have same calculation condition.

is there any way to define the calculation condition in the extension code itself?

I tried couple of things in my extension.js but nothing is working ( and I am new to JSON and javascripting so not if this is correct)

if calculation is true, i give below statement:

layout.qHyperCubeDef.qCalcCondition.qCond = false;
layout.addons.dataHandling.calcCond = false;

Labels (1)
0 Replies