<?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: Only within Only function and Set Anaysis in general in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Only-within-Only-function-and-Set-Anaysis-in-general/m-p/1567327#M441816</link>
    <description>&lt;P&gt;It might be as simple as this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Only({&amp;lt;DateID = {$(=today()-1)}&amp;gt;} MonthName)&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2019 06:19:50 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-04-10T06:19:50Z</dc:date>
    <item>
      <title>Only within Only function and Set Anaysis in general</title>
      <link>https://community.qlik.com/t5/QlikView/Only-within-Only-function-and-Set-Anaysis-in-general/m-p/1565732#M441678</link>
      <description>&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;I wondered if anyone can help with this function. I'm trying to embed an only() within an only() to get the correct MonthName.&lt;/P&gt;&lt;P&gt;I'm trying to first select the MonthID of todays date, minus 3 months, which is 24229. I can get this by using the following function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=only({1&amp;lt;DateID={'$(=num(today())-1)'}&amp;gt;}[MonthID])-3&lt;/PRE&gt;&lt;P&gt;I now want to get the MonthName which is associated to this MonthID, so I'm trying to embed the Only() function within another:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=only({&amp;lt;[MonthID]={$("=only({1&amp;lt;DateID={'$(=num(today())-1)'}&amp;gt;}[MonthID]-3"))}&amp;gt;}[MonthName])&lt;/PRE&gt;&lt;P&gt;But this is producing an error.&lt;/P&gt;&lt;P&gt;Please can someone help me correct the above, but it would also be very helpful if you could also point me in the direction of some documentation about how to hand functions in set anaysis. I'm self taught in Qlikview and always end up asking where to put the $ or whether to use "" or '. The functions aren't an issue to me, it's the syntax! It would be good to have an understanding of how these work&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-within-Only-function-and-Set-Anaysis-in-general/m-p/1565732#M441678</guid>
      <dc:creator>chris1987</dc:creator>
      <dc:date>2024-11-16T03:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Only within Only function and Set Anaysis in general</title>
      <link>https://community.qlik.com/t5/QlikView/Only-within-Only-function-and-Set-Anaysis-in-general/m-p/1567267#M441812</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;PRE&gt;=only({&amp;lt;[MonthID]={$(=(only({1&amp;lt;DateID={$(=num(today())-1)}&amp;gt;}[MonthID])-3))}&amp;gt;}[MonthName])&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Apr 2019 00:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-within-Only-function-and-Set-Anaysis-in-general/m-p/1567267#M441812</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2019-04-10T00:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Only within Only function and Set Anaysis in general</title>
      <link>https://community.qlik.com/t5/QlikView/Only-within-Only-function-and-Set-Anaysis-in-general/m-p/1567327#M441816</link>
      <description>&lt;P&gt;It might be as simple as this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Only({&amp;lt;DateID = {$(=today()-1)}&amp;gt;} MonthName)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 06:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-within-Only-function-and-Set-Anaysis-in-general/m-p/1567327#M441816</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-04-10T06:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Only within Only function and Set Anaysis in general</title>
      <link>https://community.qlik.com/t5/QlikView/Only-within-Only-function-and-Set-Anaysis-in-general/m-p/1567668#M441841</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I actually got it figured out but using:&lt;/P&gt;&lt;PRE&gt;=only({1&amp;lt;[MonthID]={$(=only({1&amp;lt;DateID={'$(=num(today())-1)'}&amp;gt;}[MonthID]-3))}&amp;gt;}[MonthName])&lt;/PRE&gt;&lt;P&gt;Thinking that I needed the apostrophe, but after testing your code I didn't&lt;/P&gt;&lt;P&gt;Thanks again for the reply.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 13:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-within-Only-function-and-Set-Anaysis-in-general/m-p/1567668#M441841</guid>
      <dc:creator>chris1987</dc:creator>
      <dc:date>2019-04-10T13:41:07Z</dc:date>
    </item>
  </channel>
</rss>

