<?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: Macro - what have I got wrong? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-what-have-I-got-wrong/m-p/668242#M242960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; believe someone here must have some experience with using macros in QlikView?&lt;/P&gt;&lt;P&gt;I know it's generally not recommended, but like I said, I have no choice here since the kind of triggers we need does not work in our version and we never updated to a newer version yet.&lt;/P&gt;&lt;P&gt;Right now, it's back to the macro never working, whether I open the app from the Management-Dashboard (via chaining) or directly - I have experimented a bit with the &amp;gt;&amp;gt; SET HidePrefix &amp;lt;&amp;lt; and such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 15:25:59 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-07-16T15:25:59Z</dc:date>
    <item>
      <title>Macro - what have I got wrong?</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-what-have-I-got-wrong/m-p/668239#M242957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to establish a pyramid-like structure in our company, where management has a Dashboard with all the KPIs (only the results in form of traffic_lights), but they can link to any of the team-specific apps to view the data in detail.&lt;/P&gt;&lt;P&gt;=&amp;gt; To achieve just that and enable the managers, by clicking, to "jump" not only to one of the team-specific apps, but to the very&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KPI-display they have just viewed the result of, I have to use a macro because the triggers in our QV_version don't all work, in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; particular, triggers on opening a document via document_chaining don't work reliably in AJAX - that has been confirmed to us&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by QlikTech and we never updated, so it's still the same.&lt;/P&gt;&lt;P&gt;The macro has actually been written for us by an external consultant and I know it works, we had it in use at a time. I will attach it to this post.&lt;/P&gt;&lt;P&gt;I now have an inline table (in a qvs file) that is labeled 'KPIs_to_be_shown' and has just one field labeled 'KPI'. The one value of this field is 'Fluktuation'.&lt;/P&gt;&lt;P&gt;I also have a &amp;gt;&amp;gt; SET HidePrefix = '__' &amp;lt;&amp;lt; command in place to make sure the selection on the field &amp;gt;&amp;gt; KPI &amp;lt;&amp;lt; does not show up in the statusboxes in my apps.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; Although I have all the pieces in place, or so I believe, it doesn't work - when I activate the document_chain to open the targeted app, then the starting_sheet opens, not the KPI in question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what I got wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Never mind the German commentary - it says no more than what I just told you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.P.S.: Oh - there's one more particular: I haven't given a name to the macro, I just pasted it in the corresp. editor - might that be an error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 07:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-what-have-I-got-wrong/m-p/668239#M242957</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-14T07:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - what have I got wrong?</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-what-have-I-got-wrong/m-p/668240#M242958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems the macro (or module) just needs a name. Now it seems to work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 08:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-what-have-I-got-wrong/m-p/668240#M242958</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-14T08:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Macro - what have I got wrong?</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-what-have-I-got-wrong/m-p/668241#M242959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;O_O -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems I really need some help on this one, please.&lt;/P&gt;&lt;P&gt;I seem to be alternating between&lt;/P&gt;&lt;P&gt;- "The macro works" - but then, the worksheet with that KPI (SH19) is ALWAYS opened, whether I open the app&lt;BR /&gt;&amp;nbsp; via doc_chaining or normally - and&lt;/P&gt;&lt;P&gt;- "The macro doesn't work" - then the worksheet that should normally be the starting_page (SH02) is ALWAYS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; opened, whichever way I open the app.&lt;/P&gt;&lt;P&gt;I really cannot tell what's wrong because the two sheet_IDs are in the macro (it's above, but I'll attach it again).&lt;/P&gt;&lt;P&gt;Also, there is a "Failsafe" in the macro for the possibility that there is no selection on the field &amp;gt;&amp;gt; __KPI &amp;lt;&amp;lt; - which&lt;/P&gt;&lt;P&gt;should be the case when the app is opened the normal way.&lt;/P&gt;&lt;P&gt;Thanks a lot for any help here!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 07:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-what-have-I-got-wrong/m-p/668241#M242959</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-15T07:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - what have I got wrong?</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-what-have-I-got-wrong/m-p/668242#M242960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; believe someone here must have some experience with using macros in QlikView?&lt;/P&gt;&lt;P&gt;I know it's generally not recommended, but like I said, I have no choice here since the kind of triggers we need does not work in our version and we never updated to a newer version yet.&lt;/P&gt;&lt;P&gt;Right now, it's back to the macro never working, whether I open the app from the Management-Dashboard (via chaining) or directly - I have experimented a bit with the &amp;gt;&amp;gt; SET HidePrefix &amp;lt;&amp;lt; and such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 15:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-what-have-I-got-wrong/m-p/668242#M242960</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-16T15:25:59Z</dc:date>
    </item>
  </channel>
</rss>

