<?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: Quick help on using Year variable instead of hard-coding. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Quick-help-on-using-Year-variable-instead-of-hard-coding/m-p/269853#M101205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a chart where that's the only expression.&amp;nbsp; Don't give that expression a label.&amp;nbsp; At that point, the caption line should show the expression prior to dollar sign expansion, and the header for the column should show AFTER dollar sign expansion (or do I have that backwards?).&amp;nbsp; That's often a good way to spot set analysis issues.&amp;nbsp; Often when set analysis isn't working, you'll see that the dollar sign expansion is just returning null, or is returning data in the wrong format.&amp;nbsp; The formats have to match - the year you should now have in quotes should match the format of your Yr field, and same for the WkNum field.&amp;nbsp; This won't necessarily let you spot the issue, but it's a good thing to try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Aug 2011 23:37:04 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-08-15T23:37:04Z</dc:date>
    <item>
      <title>Quick help on using Year variable instead of hard-coding.</title>
      <link>https://community.qlik.com/t5/QlikView/Quick-help-on-using-Year-variable-instead-of-hard-coding/m-p/269850#M101202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is this expression not returning anything?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿﻿﻿﻿﻿Sum ({&amp;lt;Yr=[MaxYrNum],WkNum=['&amp;lt;+$(=MaxWkNum)'}&amp;gt;} Sales).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine when the first part of the expression is....&amp;lt;Yr={'2011'}.&amp;nbsp; I'm just trying to replace the hard-coded year value for a dynamic value based on the max year (or another variable called MaxDt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 21:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quick-help-on-using-Year-variable-instead-of-hard-coding/m-p/269850#M101202</guid>
      <dc:creator />
      <dc:date>2011-08-12T21:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Quick help on using Year variable instead of hard-coding.</title>
      <link>https://community.qlik.com/t5/QlikView/Quick-help-on-using-Year-variable-instead-of-hard-coding/m-p/269851#M101203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({&amp;lt;Yr={'$(MaxYrNum)'},WkNum={"&amp;lt;$(MaxWkNum)"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 22:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quick-help-on-using-Year-variable-instead-of-hard-coding/m-p/269851#M101203</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-12T22:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Quick help on using Year variable instead of hard-coding.</title>
      <link>https://community.qlik.com/t5/QlikView/Quick-help-on-using-Year-variable-instead-of-hard-coding/m-p/269852#M101204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, that doesn't seem to be working, and I can't tell why.&amp;nbsp; Thanks for the response.&amp;nbsp; If you have any other suggestions I'm wiling to try 'em.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 23:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quick-help-on-using-Year-variable-instead-of-hard-coding/m-p/269852#M101204</guid>
      <dc:creator />
      <dc:date>2011-08-15T23:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Quick help on using Year variable instead of hard-coding.</title>
      <link>https://community.qlik.com/t5/QlikView/Quick-help-on-using-Year-variable-instead-of-hard-coding/m-p/269853#M101205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a chart where that's the only expression.&amp;nbsp; Don't give that expression a label.&amp;nbsp; At that point, the caption line should show the expression prior to dollar sign expansion, and the header for the column should show AFTER dollar sign expansion (or do I have that backwards?).&amp;nbsp; That's often a good way to spot set analysis issues.&amp;nbsp; Often when set analysis isn't working, you'll see that the dollar sign expansion is just returning null, or is returning data in the wrong format.&amp;nbsp; The formats have to match - the year you should now have in quotes should match the format of your Yr field, and same for the WkNum field.&amp;nbsp; This won't necessarily let you spot the issue, but it's a good thing to try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 23:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quick-help-on-using-Year-variable-instead-of-hard-coding/m-p/269853#M101205</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-15T23:37:04Z</dc:date>
    </item>
  </channel>
</rss>

