<?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: Unassociate if a specific variable exists in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497602#M1128724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I would like the cost centre to look up to the P&amp;amp;L Heading, unless the GL = 324010, then I would like the P&amp;amp;L heading to = Redundancy costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my model, the cost centres drive the P&amp;amp;L headings and the GL codes drive the categories. The category that is associated with GL 324010 is redundancy costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is clearer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caroline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Nov 2013 11:19:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-27T11:19:18Z</dc:date>
    <item>
      <title>Unassociate if a specific variable exists</title>
      <link>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497598#M1128720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an exception to a rule in the data that I am using and would like to unassociate 2 variables if another variable is present. Is there a way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have a ledger code and cost centre. The cost centre has a table that associates to a profit and loss heading, however, if I have a specific ledger code, I don't want the cost centre to associate with the profit and loss heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas gratefully received&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caroline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 09:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497598#M1128720</guid>
      <dc:creator />
      <dc:date>2013-11-27T09:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unassociate if a specific variable exists</title>
      <link>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497599#M1128721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you please explain where you want to check&amp;nbsp; condition with these two variables , at the time load script or in chart expression.And if you have any sample file so please attach .It will be helpful to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 09:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497599#M1128721</guid>
      <dc:creator />
      <dc:date>2013-11-27T09:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unassociate if a specific variable exists</title>
      <link>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497600#M1128722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashutosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it will be better if I can unassociate these variables when the script is loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I have a cost centre look up table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A General Ledger look up table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then my data, which looks up a category and P&amp;amp;L heading from the above tables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all works ok, except that for GL Account 324010 I don’t want the cost centre to associate with production P&amp;amp;L Heading from the cost centre lookup table. I need it to be shown separately if at all possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caroline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 10:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497600#M1128722</guid>
      <dc:creator />
      <dc:date>2013-11-27T10:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unassociate if a specific variable exists</title>
      <link>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497601#M1128723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So you want that in "P&amp;amp;L Heading" column"only "Production" value should not show with "Cost Center" otherwise it should be show with other "P&amp;amp;L Heading" column values...right?&lt;/P&gt;&lt;P&gt;Second thing&amp;nbsp; if you are not going to show with Production with "Cost Center" so that mean you are going to use ledger code&amp;nbsp; but you din't tell anything about ledger code....can you please explain? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 10:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497601#M1128723</guid>
      <dc:creator />
      <dc:date>2013-11-27T10:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unassociate if a specific variable exists</title>
      <link>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497602#M1128724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I would like the cost centre to look up to the P&amp;amp;L Heading, unless the GL = 324010, then I would like the P&amp;amp;L heading to = Redundancy costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my model, the cost centres drive the P&amp;amp;L headings and the GL codes drive the categories. The category that is associated with GL 324010 is redundancy costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is clearer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caroline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 11:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497602#M1128724</guid>
      <dc:creator />
      <dc:date>2013-11-27T11:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unassociate if a specific variable exists</title>
      <link>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497603#M1128725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes now it is clear.If you want to change your heading according to your value then you done this in expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Add two expression in your chart &lt;/P&gt;&lt;P&gt;2. Write&amp;nbsp; condition in &lt;STRONG&gt;conditional option &lt;/STRONG&gt;in expression tab &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;if(GL = 324010 , 1, 0)&lt;/STRONG&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and give this label name as P&amp;amp;L Heading&lt;/P&gt;&lt;P&gt;3. Like that for second expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; if(GL &amp;lt;&amp;gt; 324010 , 1, 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt; and give label as Redunduncy Cost.&lt;/P&gt;&lt;P&gt;It will show accordinglly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can do this&amp;nbsp; in script but i am not sure about this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In Script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. load those records where GL = 324010&amp;nbsp; and there give column name as "Redundancy Cost".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. load those record where GL &amp;lt;&amp;gt; 324010 and concatenate with first table which you created with&amp;nbsp; Redundancy cost in first point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. Then in expression you can use field separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try this and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 12:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497603#M1128725</guid>
      <dc:creator />
      <dc:date>2013-11-27T12:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unassociate if a specific variable exists</title>
      <link>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497604#M1128726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I’ll give that a try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caroline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 08:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unassociate-if-a-specific-variable-exists/m-p/497604#M1128726</guid>
      <dc:creator />
      <dc:date>2013-11-28T08:59:43Z</dc:date>
    </item>
  </channel>
</rss>

