<?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 Controlling two fields in different tables with one parameter. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Controlling-two-fields-in-different-tables-with-one-parameter/m-p/549271#M1143134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear fellow users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite new with Qlikview and slowly teaching myself how to work it. I've created a project from mostly our SQL db but I've run into some difficulties. Attached is a picture showing the setup. What I want to do is have a field that controls the two fields "InvoiceYearMonth" and "LossYearMonth" forcing them both to assume the value of this new field, lets call it "InvoiceLossTime". However I also want the two original fields to operate independently when this Invoice/Loss-field is inactive. I tried creating a new table with InvoiceYearMonth, LossYearMonth and this third field InvoiceLossTime which of course created a loop and a crash. I've searched numerous other discussions but I can't seem to figure this one out. I was hoping that it could be solved with a dummyvariable, something like IF(VariableX=1, InvoiceYearMonth=LossYearMonth) but I don't really know where to begin with that concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreaciate whatever help I can get and sorry if this is the 5000th repost of the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2013 14:45:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-20T14:45:54Z</dc:date>
    <item>
      <title>Controlling two fields in different tables with one parameter.</title>
      <link>https://community.qlik.com/t5/QlikView/Controlling-two-fields-in-different-tables-with-one-parameter/m-p/549271#M1143134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear fellow users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite new with Qlikview and slowly teaching myself how to work it. I've created a project from mostly our SQL db but I've run into some difficulties. Attached is a picture showing the setup. What I want to do is have a field that controls the two fields "InvoiceYearMonth" and "LossYearMonth" forcing them both to assume the value of this new field, lets call it "InvoiceLossTime". However I also want the two original fields to operate independently when this Invoice/Loss-field is inactive. I tried creating a new table with InvoiceYearMonth, LossYearMonth and this third field InvoiceLossTime which of course created a loop and a crash. I've searched numerous other discussions but I can't seem to figure this one out. I was hoping that it could be solved with a dummyvariable, something like IF(VariableX=1, InvoiceYearMonth=LossYearMonth) but I don't really know where to begin with that concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreaciate whatever help I can get and sorry if this is the 5000th repost of the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 14:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Controlling-two-fields-in-different-tables-with-one-parameter/m-p/549271#M1143134</guid>
      <dc:creator />
      <dc:date>2013-09-20T14:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling two fields in different tables with one parameter.</title>
      <link>https://community.qlik.com/t5/QlikView/Controlling-two-fields-in-different-tables-with-one-parameter/m-p/549272#M1143135</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;The way I would do this is to use a data island and triggers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a new table "InvoiceLossTime" that is not connected to the rest of the data model&lt;/P&gt;&lt;P&gt;2. Go to Settings -&amp;gt; Document Properties.&amp;nbsp; Select the "Triggers" Tab&lt;/P&gt;&lt;P&gt;3. Select the appropriate field in the InvoiceLossTime table (in this example I will assume you picked InvoiceLossYear)&lt;/P&gt;&lt;P&gt;4. Click the "Add Action(s)..." button below "OnSelect&lt;/P&gt;&lt;P&gt;5. Add two actions.&amp;nbsp; Once that set the InvoiceYear = InvoiceLostYear and another action that set the LossYear = InvoiceLostYear.&lt;/P&gt;&lt;P&gt;6. Repeat as needed for other fields (YearMonth, Month, etc.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 17:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Controlling-two-fields-in-different-tables-with-one-parameter/m-p/549272#M1143135</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2013-09-20T17:59:22Z</dc:date>
    </item>
  </channel>
</rss>

