<?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: Adhoc Reporting Requirement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936907#M323413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way I can think of is use Alternate State for the Measures and dimensions selections/&lt;/P&gt;&lt;P&gt;And when the user presses button then only apply the selections from alternate state to main State using Select In field in Main state and a GetFieldSelection function using the Alternate State.&amp;nbsp; Please check the attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 17:55:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-08T17:55:04Z</dc:date>
    <item>
      <title>Adhoc Reporting Requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936903#M323409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a specific requirement of creating Adhoc Reporting ,&lt;/P&gt;&lt;P&gt;in which I have created it&amp;nbsp; where user can select Dimensions and Expressions to get the chart populated.&lt;/P&gt;&lt;P&gt;But my requirement is the chart should be populated only when the Populate Button is pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was also achieved, but now if again user selects any other dimension or Measure , it should not be populated instanty unless User presses the Populate button, Means,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dimensions or expressions should be ammended only if button is pressed else the previously populated data should be shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching a sample file.&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936903#M323409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-08T10:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adhoc Reporting Requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936904#M323410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply add the variable on the button and made hide &amp;amp; show on the chart object with that variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached qvw as reference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936904#M323410</guid>
      <dc:creator />
      <dc:date>2015-10-08T13:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adhoc Reporting Requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936905#M323411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hide or mask the dimension and measure selectors when populate is pressed, and change the text on the populate button to say Change.... When the button is pressed again, re-enable the selectors and disable calculation again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Button - change variable vState &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; action expression =&lt;EM&gt;If(vState = 0, 1, 0)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp; =If(vState = 1, 'Change...', 'Populate...')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Place a transparent text box over the selectors (in a layer &amp;gt; the layer of the selectors) and set the conditional display to &lt;EM&gt;=vState = 0 Or IsNull(vState)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set the calculation condition (or conditional show) for the chart object&amp;nbsp;&amp;nbsp; =vState = 1 &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936905#M323411</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-08T13:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adhoc Reporting Requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936906#M323412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="t1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101436_t1.png" style="height: 263px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936906#M323412</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-08T13:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adhoc Reporting Requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936907#M323413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way I can think of is use Alternate State for the Measures and dimensions selections/&lt;/P&gt;&lt;P&gt;And when the user presses button then only apply the selections from alternate state to main State using Select In field in Main state and a GetFieldSelection function using the Alternate State.&amp;nbsp; Please check the attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 17:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936907#M323413</guid>
      <dc:creator />
      <dc:date>2015-10-08T17:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adhoc Reporting Requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936908#M323414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All for the reply,&lt;/P&gt;&lt;P&gt;But these approaches dont work for me as even I have tried them all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With alternate states I have to place Dimension and Measure selector copy at the screen or have to show hide them .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually whats the point is , as we can do this in Cognos cubes that from the very selection only we can select them and after add or OK button is pressed it is added.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 03:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936908#M323414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-09T03:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adhoc Reporting Requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936909#M323415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nitin you don't have to keep a extra copy of the Dimension and measure . You can delete those list boxes from my example. I kept them just to show you that is indeed selecting the right thing.&lt;/P&gt;&lt;P&gt;Here is copy of the QVW with the extra List boxes deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps that I did. Removed the trigger from ON Change event on the DimCount and Expression Count variable.&lt;/P&gt;&lt;P&gt;Added a new State: Selection&lt;/P&gt;&lt;P&gt;Changed the state of Dim and Measure lis boxes to Selection.&lt;/P&gt;&lt;P&gt;In the action part of Populate button I added 2 new steps.&lt;/P&gt;&lt;P&gt;Select in Field, DIMENSION, Search string =&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14443912584502052" jivemacro_uid="_14443912584502052"&gt;
&lt;P&gt;='("' &amp;amp; GetFieldSelections(DIMENSION,'"|"',100,'Selection') &amp;amp; '")'&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Select in Field, MEASURE, Search string =&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14443913103709196 jive_text_macro" jivemacro_uid="_14443913103709196"&gt;
&lt;P&gt;='("' &amp;amp; GetFieldSelections(MEASURE,'"|"',100,'Selection') &amp;amp; '")'&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 11:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adhoc-Reporting-Requirement/m-p/936909#M323415</guid>
      <dc:creator />
      <dc:date>2015-10-09T11:38:18Z</dc:date>
    </item>
  </channel>
</rss>

