<?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 Labels for set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Labels-for-set-analysis/m-p/144223#M505792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Label does mean that exactly so I want to calculate an expression in the label section of the expression which would give the month and year. My example would return "current month, current year" but I need to calculate the same label based on my set analysis expression which calculates previosu months. If I changed the set analysis to use month -1 and year etc I could replicate for the label and this would work until I got to a year end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2009 19:26:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-05-15T19:26:38Z</dc:date>
    <item>
      <title>Labels for set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-for-set-analysis/m-p/144221#M505790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using set analysis succesfully witha detached calendar to show data across years. Within my calendar I have a month counter incrementing by one and use variations on the below;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;$&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;[Month Counter]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;={&lt;B&gt;&lt;I&gt;"$(=only([Detatched_Calendar.Month Counter])-1)"&lt;/I&gt;&lt;/B&gt; &lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;SterlingAmount&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;The above would return me the correct figure for the previous month but I can't quite work out how best to label it.&lt;/P&gt;&lt;P&gt;This is my label for current month which doesn't need to use the month counter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;'Month '&amp;amp; only([Detatched_Calendar.Month of Year])&amp;amp;', ' &amp;amp; only(Detatched_Calendar.Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my calendar contains, month, year and month counter so is there some form of lookup I can do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help much appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 17:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-for-set-analysis/m-p/144221#M505790</guid>
      <dc:creator />
      <dc:date>2009-05-15T17:55:56Z</dc:date>
    </item>
    <item>
      <title>Labels for set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-for-set-analysis/m-p/144222#M505791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I didn't understand the label. Label means giving appropriate name or something else.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 18:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-for-set-analysis/m-p/144222#M505791</guid>
      <dc:creator />
      <dc:date>2009-05-15T18:22:00Z</dc:date>
    </item>
    <item>
      <title>Labels for set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-for-set-analysis/m-p/144223#M505792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Label does mean that exactly so I want to calculate an expression in the label section of the expression which would give the month and year. My example would return "current month, current year" but I need to calculate the same label based on my set analysis expression which calculates previosu months. If I changed the set analysis to use month -1 and year etc I could replicate for the label and this would work until I got to a year end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 19:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-for-set-analysis/m-p/144223#M505792</guid>
      <dc:creator />
      <dc:date>2009-05-15T19:26:38Z</dc:date>
    </item>
  </channel>
</rss>

