<?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: load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load/m-p/593129#M219884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Chiaro.&lt;/P&gt;&lt;P&gt;Lo provo ma credo che dovrebbe essere quello che fa al caso mio.&lt;/P&gt;&lt;P&gt;Grazie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 11:03:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-04T11:03:51Z</dc:date>
    <item>
      <title>load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593120#M219875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;I have no experience about Qlikview. I'm new, so sorry at start ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a "load script", I'd like to use the value of a field that was loaded before in another "load script".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ULTIMO_ANNO_ANAGRAFICA:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Periodo Anno Corrente]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #800000;"&gt;&lt;STRONG&gt;Ultimo_Anno&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; DB_ANAGRAFICA&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;ULTIMO_MESE_NN_ANAGRAFICA:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Periodo Mese Corrente]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Ultimo_mese_NN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; DB_ANAGRAFICA&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Periodo Anno Corrente]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;SPAN style="color: #800000; font-size: 12pt;"&gt;&lt;STRONG&gt;Ultimo_Anno&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;How can i&amp;nbsp; overtake the problem ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thank you for your help and sorry for my english ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;Bye.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 14:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593120#M219875</guid>
      <dc:creator />
      <dc:date>2014-03-03T14:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593121#M219876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Se come credo Ultimo Anno nella tabella &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ULTIMO_ANNO_ANAGRAFICA è un valore univoco,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scrivi dopo averla caricata :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let lastyear = peek('&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Ultimo_Anno&lt;/STRONG&gt;'&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"&gt;&lt;STRONG&gt;,1,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ULTIMO_ANNO_ANAGRAFICA &lt;/SPAN&gt;');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;questo ti restituisce il valore di ultimo_anno nel record 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A qyuesto punto nella query 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ULTIMO_MESE_NN_ANAGRAFICA:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Periodo Mese Corrente]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec')) &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Ultimo_mese_NN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; DB_ANAGRAFICA&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Periodo Anno Corrente]&lt;/SPAN&gt;&lt;SPAN style="font-size: 11px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #800000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;$(lastyear )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 14:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593121#M219876</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-03T14:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593122#M219877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grazie per l'informazione.&lt;/P&gt;&lt;P&gt;Ho provato a modificare la sintassi secondo i tuoi suggerimenti. Come una correzione ho indicato il valore 0 nella funzione peek perché altrimenti la variabile lastyear mi restituiva un valore nullo (con zero restituisce proprio il primo record).&lt;/P&gt;&lt;P&gt;Adesso funziona.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Approfitto (se posso) della tua esperienza per chiederti in due parole il significato del simbolo $.&lt;/P&gt;&lt;P&gt;Ho capito che serve per richiamare le variabili. Ha qualche altro utilizzo ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grazie ancora.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 15:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593122#M219877</guid>
      <dc:creator />
      <dc:date>2014-03-03T15:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593123#M219878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;E' il simbolo di espansione, in pratica calcola ciò che segue tra parentesi (nell'help è spiegato bene)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In bocca al lupo con QLIK!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 15:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593123#M219878</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-03T15:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593124#M219879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... Riusciresti a segnare la mia risposta come Esatto o utile, ti ringrazio molto, vorrei cercare di scalare qualche altra posizione in classifica!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 15:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593124#M219879</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-03T15:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593125#M219880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Volentieri.&lt;/P&gt;&lt;P&gt;Mi devi spiegare però due cose:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) come si fa ? C'è qualche flag da spuntare ?&lt;/P&gt;&lt;P&gt;2) Si vince qualche premio ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scusa ma mi sono registrato solo oggi pomeriggio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 16:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593125#M219880</guid>
      <dc:creator />
      <dc:date>2014-03-03T16:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593126#M219881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Non preoccuparti, non si vince nulla a parte poter scrivere questa referenza nel CV ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se vai nella community (&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/" title="http://community.qlik.com/"&gt;http://community.qlik.com/) ed entri con il tuo account in conrenuti troverai le tue (e tutte le altre) domande.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ogni volta che si risponde si guadagna un punto, 5 per risposta utile e 10 per risposta corretta. Se poi clicchi suo tuo punteggio troverai le missioni (che danno ulteriori punti) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Per assegnare il punteggio dopo una risposta, ricarica la tua domanda, in fondo troverai 2 tasti (risposta esatta ed utile).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Al momento ho 3452 punti ...&lt;/P&gt;&lt;P&gt;Ciao e se hai bisogno scrivi pure ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 16:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593126#M219881</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-03T16:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593127#M219882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ti disturbo ancora.&lt;/P&gt;&lt;P&gt;Ho necessità di impostare alcuni valori predefiniti all'apertura dei fogli del mio progetto (e questo sono riuscito a farlo con la gestione degli eventi "SuFoglioAttivato" e la funzione "Seleziona nel campo".&lt;/P&gt;&lt;P&gt;In pratica desidero che quando seleziono i fogli il campo Anno venga impostato sull'ultimo anno attivo (2014) e il campo mese sull'ultimo mese attivo (Feb).&lt;/P&gt;&lt;P&gt;Il problema è il seguente: l'applicazione di questi valori predifiniti però deve avvenire SOLO nel momento in cui seleziono per la PRIMA volta uno qualsiasi dei fogli, dopodiché devo avere la possibilità di modificare anno e mese a piacere.&lt;/P&gt;&lt;P&gt;Adesso cosa succede: ogni volta che seleziono il foglio anno e mese vengono (ovviamente) valorizzati sempre con 2014 e Feb impedendomi l'analisi nel tempo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ti ringrazio per qualsiasi aiuto / suggerimento che riuscirai a fornirmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 10:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593127#M219882</guid>
      <dc:creator />
      <dc:date>2014-03-04T10:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593128#M219883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Imposta il trigger (evento) nel menu&lt;/P&gt;&lt;P&gt;Impostazione -&amp;gt; proprieta del documento -&amp;gt; eventi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in modo che all'apertura del documento scattino i tuoi eventi (quindi la pagina eredita le selezioni fatte) ma quando cambi pagina (o ritorni nella prima) l'evento non scatta più (essendo abilitato solo all'apertura del documento) e le eventuali nuove selezioni vengono mantenute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spero di essere stato chiaro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 10:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593128#M219883</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-04T10:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593129#M219884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Chiaro.&lt;/P&gt;&lt;P&gt;Lo provo ma credo che dovrebbe essere quello che fa al caso mio.&lt;/P&gt;&lt;P&gt;Grazie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 11:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593129#M219884</guid>
      <dc:creator />
      <dc:date>2014-03-04T11:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593130#M219885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Un'altra domanda.&lt;/P&gt;&lt;P&gt;E' possibile "richiamare" la variabile lastyear (di cui parlavamo ieri) all'interno del codice di una macro che utilizzo negli eventi di apertura di un foglio ?&lt;/P&gt;&lt;P&gt;Se non è possibile, allora come si può ricostruire lo stesso valore della variabile lastyear all'interno di una sub della macro ?&lt;/P&gt;&lt;P&gt;In sostanza: nel codice delle macro come si possono leggere le tabelle dello script di load per ricavare gli stessi valori che mi servono ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Non so se sono riuscito a spiegarmi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grazie.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 13:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593130#M219885</guid>
      <dc:creator />
      <dc:date>2014-03-04T13:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593131#M219886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scusami ma non mi è molto chiaro ... l'unico suggerimento che ti do è di evitare le macro poichè dalla prossima versione non sarannpo più supportate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 13:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593131#M219886</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-04T13:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593132#M219887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Un'altra domanda.&lt;/P&gt;&lt;P&gt;E' possibile "richiamare" la variabile lastyear (di cui parlavamo ieri) all'interno del codice di una macro che utilizzo negli eventi di apertura di un foglio ?&lt;/P&gt;&lt;P&gt;Se non è possibile, allora come si può ricostruire lo stesso valore della variabile lastyear all'interno di una sub della macro ?&lt;/P&gt;&lt;P&gt;In sostanza: nel codice delle macro come si possono leggere le tabelle dello script di load per ricavare gli stessi valori che mi servono ?&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Non so se sono riuscito a spiegarmi.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Grazie.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 13:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593132#M219887</guid>
      <dc:creator />
      <dc:date>2014-03-04T13:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/593133#M219888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Ti ringrazio.&lt;/P&gt;&lt;P&gt;Allora ti spiego quale è la mia esigenza (che pensavo di risolvere con delle macro collegate all'evento di apertura dei fogli): in pratica ho un foglio (Foglio1) dove desidero che, nel momento in cui lo apro, il campo anno sia impostato su 2014 e il campo mese su Feb (e questo problema l'ho risolto perché mi hai spiegato come impostare i valori all'apertura del documento). In questo modo, tutti i grafici sottostanti "fotografano" un periodo temporale preciso. Ti ho indicato 2014 e Feb anche se in realtà sono valori "variabili" perché, di volta in volta, rappresentano l'ultimo anno e l'ultimo mese disponibili.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Poi, ho un altro foglio (Foglio2) dove ci sono dei grafici che analizzano un andamento su più mesi e su più anni, per cui è necessario che, all'apertura, vengano disabilitate tutte le selezioni sul campo Anno e sul campo Mese.&lt;/P&gt;&lt;P&gt;Però poi sorge un altro problema. Cioè, quando ritorno su Foglio1 vorrei che si aprisse ancora sull'ultimo Anno e sull'ultimo mese disponibili (nell'esempio 2014 e Feb), meglio sarebbe se si aprisse sull'ultima selezione effettuata (perché magari in precedenza ho "navigato" da un mese all'altro o da un anno all'altro).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Le macro mi sono servite perché riuscivo ad impostare la proprietà OneAndOnlyOne a true o false a seconda se mi serviva un singolo valore (per Foglio1) oppure nessun valore (per Foglio2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questa è la sintassi che ho usato nelle macro collegate all'evento di apertura di Foglio1 e Foglio2&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 8pt; text-decoration: underline;"&gt;Macro su evento apertura Foglio1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sub SetOneAndOnlyOne_True_Anno 'LB17&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Obj = ActiveDocument.GetSheetObject("LB17")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Fld = Obj.GetField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Val = Fld.GetSelectedValues&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if Val.Count&amp;lt;&amp;gt;1 then Fld.Select "2011"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Prop = Fld.GetProperties&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prop.OneAndOnlyOne = true&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fld.SetProperties Prop&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 8pt; text-decoration: underline;"&gt;Macro su evento apertura Foglio2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SetOneAndOnlyOne_False_Anno 'LB17&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Obj = ActiveDocument.GetSheetObject("LB17")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Fld = Obj.GetField&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Prop = Fld.GetProperties&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prop.OneAndOnlyOne = false&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fld.SetProperties Prop&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fld.Clear&lt;BR /&gt;End Sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mi sono "incartato" quando volevo sostituire alla sintassi &lt;STRONG&gt;Fld.Select "2011" &lt;/STRONG&gt;una variabile per richiamare almeno l'anno 2014 (cioè l'ultimo anno disponibile che ero riuscito ad isolare, grazie al tuo aiuto, nella variabile lastyear)&lt;/P&gt;&lt;P&gt;Spero di essermi spiegato.&lt;/P&gt;&lt;P&gt;Sicuramente per raggiungere il mio obiettivo ci saranno delle strade più "efficienti" però, al momento le mie conoscenze sono limitate.&lt;/P&gt;&lt;P&gt;Grazie comunque.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 07:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/593133#M219888</guid>
      <dc:creator />
      <dc:date>2014-03-05T07:06:55Z</dc:date>
    </item>
  </channel>
</rss>

