<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Adding &amp;quot;Show Column If&amp;quot; condition when creating table viz on the fly. in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Adding-quot-Show-Column-If-quot-condition-when-creating-table/m-p/1930070#M16780</link>
    <description>&lt;P&gt;Thank you, I was just having the same issue.&lt;/P&gt;
&lt;P&gt;FYI, I could enter it with less code:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;qCalcCondition: { qCond: "=1" }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, I need to know how to do it to the object, so that Add-ons &amp;gt; Data handling &amp;gt; Calculation condition populates.&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 21:54:41 GMT</pubDate>
    <dc:creator>mattias-thalen</dc:creator>
    <dc:date>2022-05-12T21:54:41Z</dc:date>
    <item>
      <title>Adding "Show Column If" condition when creating table viz on the fly.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Adding-quot-Show-Column-If-quot-condition-when-creating-table/m-p/1894519#M16309</link>
      <description>&lt;P&gt;I am importing a csv file to create a table based on the matching dimensions/measures and an if statement. I would like the if statement to populate in the "Show Column If" in the table. I am using the capability API to do this but I am open to using enigma as well. Below is an example of what I am trying. I have tried the calcCond property which is what I think it is supposed to reference.&amp;nbsp; Edit: Just to be clear, I can get it to conditionally show and hide from these but it is not populating the "Show Column If" property for the table in the properties panel. This means no one can edit it in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;app.visualization.create('table', [
{
        qLibraryId: metric.MasterItemID,
	qType: 'dimension',
	qNullSuppression: true,
	qOtherTotalSpec: {
		qOtherMode: 'OTHER_OFF',
		qSuppressOther: true,
		qOtherSortMode: 'OTHER_SORT_DESCENDING',
		qOtherCounted: {
			qv: '5',
			},
		qOtherLimitMode: 'OTHER_GE_LIMIT',
	},
	qCalcCond: {
	        qv: '1=1',
	},
	qCalcCondition: {
		qCalcCond: {
			qv: '1=1',
		},
	},
}]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 19:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Adding-quot-Show-Column-If-quot-condition-when-creating-table/m-p/1894519#M16309</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2022-02-17T19:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding "Show Column If" condition when creating table viz on the fly.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Adding-quot-Show-Column-If-quot-condition-when-creating-table/m-p/1894533#M16310</link>
      <description>&lt;P&gt;In classic forum fashion,&amp;nbsp; I figured it out right after posting this. The qCalcCondition is what is needed but it needs to be formatted differently.&amp;nbsp; I also had to move the qType to the end.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
qLibraryId: metric.MasterItemID,
qNullSuppression: true,
qOtherTotalSpec: {
	qOtherMode: 'OTHER_OFF',
	qSuppressOther: true,
	qOtherSortMode: 'OTHER_SORT_DESCENDING',
	qOtherCounted: {
		qv: '5',
	},
	qOtherLimitMode: 'OTHER_GE_LIMIT',
},
qCalcCondition: {
	qCond: {
		qv: "1=1",
	},
	qMsg: {
		qv: '',
	},
},
qType: 'dimension',
};&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 20:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Adding-quot-Show-Column-If-quot-condition-when-creating-table/m-p/1894533#M16310</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2022-02-17T20:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding "Show Column If" condition when creating table viz on the fly.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Adding-quot-Show-Column-If-quot-condition-when-creating-table/m-p/1930070#M16780</link>
      <description>&lt;P&gt;Thank you, I was just having the same issue.&lt;/P&gt;
&lt;P&gt;FYI, I could enter it with less code:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;qCalcCondition: { qCond: "=1" }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, I need to know how to do it to the object, so that Add-ons &amp;gt; Data handling &amp;gt; Calculation condition populates.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 21:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Adding-quot-Show-Column-If-quot-condition-when-creating-table/m-p/1930070#M16780</guid>
      <dc:creator>mattias-thalen</dc:creator>
      <dc:date>2022-05-12T21:54:41Z</dc:date>
    </item>
  </channel>
</rss>

