<?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 Resolving two vars side-by-side in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Resolving-two-vars-side-by-side/m-p/216639#M69938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I resolve two variables: "$(Topic)$(Subject) " side-by-side? I have created a nested For ... Next... loop... . I get an error message and it looks like QV only resolves the 1st one and ignores the other...&lt;/P&gt;&lt;P&gt;Actual Code is:&lt;/P&gt;&lt;P&gt;For each Topic in 'NP' ,'SS'&lt;/P&gt;&lt;P&gt;For each Subject in Math, Reading, Total, Writing&lt;/P&gt;&lt;P&gt;PSAT:&lt;BR /&gt;Load&lt;BR /&gt; SetID&amp;amp;'-'&amp;amp;num(StudentCode) as KeyfromStudentEW, //PK for entire PA Edmonds App&lt;BR /&gt; $(Topic)$(Subject) as PSATScaleScore,&lt;BR /&gt; '$(Topic) $(Subject)' as PSATSubjectTemp&lt;BR /&gt;Resident PSATTemp&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Next Subject&lt;/P&gt;&lt;P&gt;Next Topic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephanie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Sep 2010 01:27:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-24T01:27:03Z</dc:date>
    <item>
      <title>Resolving two vars side-by-side</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-two-vars-side-by-side/m-p/216639#M69938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I resolve two variables: "$(Topic)$(Subject) " side-by-side? I have created a nested For ... Next... loop... . I get an error message and it looks like QV only resolves the 1st one and ignores the other...&lt;/P&gt;&lt;P&gt;Actual Code is:&lt;/P&gt;&lt;P&gt;For each Topic in 'NP' ,'SS'&lt;/P&gt;&lt;P&gt;For each Subject in Math, Reading, Total, Writing&lt;/P&gt;&lt;P&gt;PSAT:&lt;BR /&gt;Load&lt;BR /&gt; SetID&amp;amp;'-'&amp;amp;num(StudentCode) as KeyfromStudentEW, //PK for entire PA Edmonds App&lt;BR /&gt; $(Topic)$(Subject) as PSATScaleScore,&lt;BR /&gt; '$(Topic) $(Subject)' as PSATSubjectTemp&lt;BR /&gt;Resident PSATTemp&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Next Subject&lt;/P&gt;&lt;P&gt;Next Topic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephanie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 01:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-two-vars-side-by-side/m-p/216639#M69938</guid>
      <dc:creator />
      <dc:date>2010-09-24T01:27:03Z</dc:date>
    </item>
    <item>
      <title>Resolving two vars side-by-side</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-two-vars-side-by-side/m-p/216640#M69939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stephanie,&lt;/P&gt;&lt;P&gt;Your second for each line should read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;For each Subject in 'Math', 'Reading', 'Total', 'Writing'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;All text values must be enclosed in quotes, so it has&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;'$(Topic)$(Subject)' as PSATSubjectTemp&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Because "$(Topic)$(Subject)" is not a name of a field, but a text value. Apart from that, your code seems correct to me.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 07:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-two-vars-side-by-side/m-p/216640#M69939</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-24T07:06:16Z</dc:date>
    </item>
    <item>
      <title>Resolving two vars side-by-side</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-two-vars-side-by-side/m-p/216641#M69940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. Can't believe i missed the single quotes for the one "For next" statements... good catch.&lt;/P&gt;&lt;P&gt;Thanks for your response.... my code now works ! &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephanie Lind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 17:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-two-vars-side-by-side/m-p/216641#M69940</guid>
      <dc:creator />
      <dc:date>2010-09-24T17:10:35Z</dc:date>
    </item>
  </channel>
</rss>

