<?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 Input Variables to calcluate column value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Input-Variables-to-calcluate-column-value/m-p/1647631#M48271</link>
    <description>&lt;P&gt;Hello!&amp;nbsp; I'm currently creating a goals app in which i have several input variables.&amp;nbsp; On one sheet, I have each of the sales territories with an input variable that is typed in by user.&amp;nbsp; That's 21 input variables that I'd like to put into one column based on their selection.&amp;nbsp; I can get one variable to display based on&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(IF(CombinedAgencyFieldAreaNo=$(Field Area), $(Field Area Growth %), column(5))&amp;gt;0, IF(CombinedAgencyFieldAreaNo=$(Field Area), $(Field Area Growth %), column(5)), .02)&lt;/P&gt;&lt;P&gt;but when i try to add $(Field Area 2) and $(Field Area 2 Growth %), it errors or displays $0.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2019 19:20:09 GMT</pubDate>
    <dc:creator>hstrode</dc:creator>
    <dc:date>2019-11-15T19:20:09Z</dc:date>
    <item>
      <title>Input Variables to calcluate column value</title>
      <link>https://community.qlik.com/t5/App-Development/Input-Variables-to-calcluate-column-value/m-p/1647631#M48271</link>
      <description>&lt;P&gt;Hello!&amp;nbsp; I'm currently creating a goals app in which i have several input variables.&amp;nbsp; On one sheet, I have each of the sales territories with an input variable that is typed in by user.&amp;nbsp; That's 21 input variables that I'd like to put into one column based on their selection.&amp;nbsp; I can get one variable to display based on&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(IF(CombinedAgencyFieldAreaNo=$(Field Area), $(Field Area Growth %), column(5))&amp;gt;0, IF(CombinedAgencyFieldAreaNo=$(Field Area), $(Field Area Growth %), column(5)), .02)&lt;/P&gt;&lt;P&gt;but when i try to add $(Field Area 2) and $(Field Area 2 Growth %), it errors or displays $0.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 19:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Input-Variables-to-calcluate-column-value/m-p/1647631#M48271</guid>
      <dc:creator>hstrode</dc:creator>
      <dc:date>2019-11-15T19:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Input Variables to calcluate column value</title>
      <link>https://community.qlik.com/t5/App-Development/Input-Variables-to-calcluate-column-value/m-p/1647669#M48276</link>
      <description>&lt;P&gt;For anyone who needs this in the future, I solved it with multiple trials and errors.&amp;nbsp; Overall, the base formula looks like&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 1)'}, StateAlphaCd = {'$(State)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 1)')&lt;/P&gt;&lt;P&gt;For each of the 10 input field sets, I just added them all together.&amp;nbsp; So, a little somethikng like:&lt;/P&gt;&lt;P&gt;(SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 1)'}, StateAlphaCd = {'$(State)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 1)'))&lt;BR /&gt;+ (SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product2)'}, StateAlphaCd = {'$(State2)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 2)'))&lt;BR /&gt;+ (SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 3)'}, StateAlphaCd = {'$(State 3)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 3)'))&lt;BR /&gt;+ (SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 4)'}, StateAlphaCd = {'$(State 4)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 4)'))&lt;BR /&gt;+ (SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 5)'}, StateAlphaCd = {'$(State 5)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 5)'))&lt;BR /&gt;+ (SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 6)'}, StateAlphaCd = {'$(State 6)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 6)'))&lt;BR /&gt;+ (SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 7)'}, StateAlphaCd = {'$(State 7)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 7)'))&lt;BR /&gt;+ (SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 8)'}, StateAlphaCd = {'$(State 8)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 8)'))&lt;BR /&gt;+ (SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 9)'}, StateAlphaCd = {'$(State 9)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 9)'))&lt;BR /&gt;+ (SUM({&amp;lt;AcctDtYearToDateFilter ={'YTD'}, AgencyProductNam = {'$(Product 10)'}, StateAlphaCd = {'$(State 10)'}&amp;gt;} NewBusinessPremiumAmt)*('$(Premium Adjustment 10)'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 15:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Input-Variables-to-calcluate-column-value/m-p/1647669#M48276</guid>
      <dc:creator>hstrode</dc:creator>
      <dc:date>2019-11-16T15:05:25Z</dc:date>
    </item>
  </channel>
</rss>

