<?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: Conditional Enablement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693210#M250747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have hacked through the wall of text and I think that it should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script: &lt;/P&gt;&lt;P&gt;Dim_CustomView_Mapping: Mapping &lt;BR /&gt;LOAD ID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN&gt;DIM_ID as _Dim_ID FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://$(vServerName):4780/QMS/AuthTable"&gt;http://$(vServerName):4780/QMS/AuthTable&lt;/A&gt;&lt;SPAN&gt;] (html, utf8, embedded labels, table is [Custom View Sort]); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Exp_CustomView_Mapping: Mapping LOAD ID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;DIM_ID as _Exp_ID &lt;BR /&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://$(vServerName):4780/QMS/AuthTable"&gt;http://$(vServerName):4780/QMS/AuthTable&lt;/A&gt;&lt;SPAN&gt;] (html, utf8, embedded labels, table is [Custom View Sort]); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AdHoc_Dimensions_tmp: &lt;BR /&gt;LOAD * INLINE &lt;BR /&gt;[ Selectable Fields&lt;BR /&gt;Sales Channel &lt;BR /&gt;Department ID &lt;BR /&gt;Department Name &lt;BR /&gt;Sub Dept ID &lt;BR /&gt;Sub Dept Name &lt;BR /&gt;Class ID &lt;BR /&gt;Class Name &lt;BR /&gt;Branch ID &lt;BR /&gt;Branch Name &lt;BR /&gt;Branch Type &lt;BR /&gt;UPC &lt;BR /&gt;SKU &lt;BR /&gt;Barcode&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Item Description &lt;BR /&gt;UPC Type &lt;BR /&gt;InActive Unit &lt;BR /&gt;Customer ID &lt;BR /&gt;Customer Name &lt;BR /&gt;Supplier &lt;BR /&gt;Supplier Product &lt;BR /&gt;Code Unique &lt;BR /&gt;Trans ID &lt;BR /&gt;Trans No &lt;BR /&gt;Station &lt;BR /&gt;Receipt &lt;BR /&gt;Fiscal Year &lt;BR /&gt;Fiscal Month &lt;BR /&gt;Fiscal Week &lt;BR /&gt;Week Day &lt;BR /&gt;Sale Date &lt;BR /&gt;]; &lt;/P&gt;&lt;P&gt;AdHoc_Dimensions: &lt;BR /&gt;NoConcatenate &lt;BR /&gt;LOAD [Selectable Fields], &lt;BR /&gt;ApplyMap('Dim_CustomView_Mapping',&lt;BR /&gt;RowNo(),&lt;BR /&gt;null()) as _Dim_ID, &lt;BR /&gt;RowNo() as _Dim_Sort &lt;BR /&gt;Resident &lt;BR /&gt;AdHoc_Dimensions_tmp; &lt;/P&gt;&lt;P&gt;DROP Table AdHoc_Dimensions_tmp; &lt;/P&gt;&lt;P&gt;//_Dim_Sort //_Dim_ID AdHoc_Expressions_tmp: &lt;/P&gt;&lt;P&gt;LOAD * INLINE &lt;BR /&gt;[ Selectable Measures&amp;nbsp; &lt;BR /&gt;Sales &lt;BR /&gt;$ Avg &lt;BR /&gt;Sell Price&lt;BR /&gt; Current Avg Retail Price &lt;BR /&gt;Avg Set Price &lt;BR /&gt;Unit Cost &lt;BR /&gt;Total Cost &lt;BR /&gt;GM $ &lt;BR /&gt;GM % &lt;BR /&gt;Trans Count &lt;BR /&gt;Sales Units &lt;BR /&gt;Avg Trans Value &lt;BR /&gt;Sales Cont &lt;BR /&gt;GM Cont ]; &lt;/P&gt;&lt;P&gt;AdHoc_Expressions: NoConcatenate &lt;BR /&gt;LOAD &lt;BR /&gt;[Selectable Measures], &lt;BR /&gt;ApplyMap('Exp_CustomView_Mapping',RowNo(),null()) as _Exp_ID, &lt;BR /&gt;RowNo() as _Exp_Sort&lt;BR /&gt;Resident AdHoc_Expressions_tmp; &lt;BR /&gt;DROP Table AdHoc_Expressions_tmp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 09:24:01 GMT</pubDate>
    <dc:creator>ThornOfCrowns</dc:creator>
    <dc:date>2014-08-20T09:24:01Z</dc:date>
    <item>
      <title>Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693206#M250743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi Guys, I need some advice. We use conditional enablement to a large extend to enable users to create their own ad-hoc reports from a Pivot or Straight table view. We give them Selectable Fields (Dimensions) and Selectable Measures (Expressions) . It’s then also important for the users to create bookmarks on their selections and for the bookmark to remember the layout of the view and selections made for future use. The problem I have however is that if I add more selectable fields to Selectable Fields or Measures it breaks the bookmarks. Can you possibly assist in a logic that will cater for this? Script: Dim_CustomView_Mapping: Mapping LOAD ID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DIM_ID as _Dim_ID FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://$(vServerName):4780/QMS/AuthTable"&gt;http://$(vServerName):4780/QMS/AuthTable&lt;/A&gt;&lt;SPAN&gt;] (html, utf8, embedded labels, table is [Custom View Sort]); Exp_CustomView_Mapping: Mapping LOAD ID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DIM_ID as _Exp_ID FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://$(vServerName):4780/QMS/AuthTable"&gt;http://$(vServerName):4780/QMS/AuthTable&lt;/A&gt;&lt;SPAN&gt;] (html, utf8, embedded labels, table is [Custom View Sort]); AdHoc_Dimensions_tmp: LOAD * INLINE [ Selectable Fields Sales Channel Department ID Department Name Sub Dept ID Sub Dept Name Class ID Class Name Branch ID Branch Name Branch Type UPC SKU Barcode&amp;nbsp;&amp;nbsp;&amp;nbsp; Item Description UPC Type InActive Unit Customer ID Customer Name Supplier Supplier Product Code Unique Trans ID Trans No Station Receipt Fiscal Year Fiscal Month Fiscal Week Week Day Sale Date ]; AdHoc_Dimensions: NoConcatenate LOAD [Selectable Fields], ApplyMap('Dim_CustomView_Mapping',RowNo(),null()) as _Dim_ID, RowNo() as _Dim_Sort Resident AdHoc_Dimensions_tmp; DROP Table AdHoc_Dimensions_tmp; //_Dim_Sort //_Dim_ID AdHoc_Expressions_tmp: LOAD * INLINE [ Selectable Measures&amp;nbsp; Sales $ Avg Sell Price Current Avg Retail Price Avg Set Price Unit Cost Total Cost GM $ GM % Trans Count Sales Units Avg Trans Value Sales Cont GM Cont ]; AdHoc_Expressions: NoConcatenate LOAD [Selectable Measures], ApplyMap('Exp_CustomView_Mapping',RowNo(),null()) as _Exp_ID, RowNo() as _Exp_Sort Resident AdHoc_Expressions_tmp; DROP Table AdHoc_Expressions_tmp; Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 21:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693206#M250743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-17T21:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693207#M250744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James it is too much confusing.&lt;/P&gt;&lt;P&gt;Can you please come in simple and clear script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 03:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693207#M250744</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-08-18T03:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693208#M250745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please upload a sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 03:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693208#M250745</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-08-18T03:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693209#M250746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem long time ago but I have not found a good solution, the changes in the data model break the bookmarks. We implemented a politic of changes to name and replace the bookmarks and use a button with actions to help in the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 09:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693209#M250746</guid>
      <dc:creator>ssanchez</dc:creator>
      <dc:date>2014-08-20T09:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693210#M250747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have hacked through the wall of text and I think that it should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script: &lt;/P&gt;&lt;P&gt;Dim_CustomView_Mapping: Mapping &lt;BR /&gt;LOAD ID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN&gt;DIM_ID as _Dim_ID FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://$(vServerName):4780/QMS/AuthTable"&gt;http://$(vServerName):4780/QMS/AuthTable&lt;/A&gt;&lt;SPAN&gt;] (html, utf8, embedded labels, table is [Custom View Sort]); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Exp_CustomView_Mapping: Mapping LOAD ID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;DIM_ID as _Exp_ID &lt;BR /&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://$(vServerName):4780/QMS/AuthTable"&gt;http://$(vServerName):4780/QMS/AuthTable&lt;/A&gt;&lt;SPAN&gt;] (html, utf8, embedded labels, table is [Custom View Sort]); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AdHoc_Dimensions_tmp: &lt;BR /&gt;LOAD * INLINE &lt;BR /&gt;[ Selectable Fields&lt;BR /&gt;Sales Channel &lt;BR /&gt;Department ID &lt;BR /&gt;Department Name &lt;BR /&gt;Sub Dept ID &lt;BR /&gt;Sub Dept Name &lt;BR /&gt;Class ID &lt;BR /&gt;Class Name &lt;BR /&gt;Branch ID &lt;BR /&gt;Branch Name &lt;BR /&gt;Branch Type &lt;BR /&gt;UPC &lt;BR /&gt;SKU &lt;BR /&gt;Barcode&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Item Description &lt;BR /&gt;UPC Type &lt;BR /&gt;InActive Unit &lt;BR /&gt;Customer ID &lt;BR /&gt;Customer Name &lt;BR /&gt;Supplier &lt;BR /&gt;Supplier Product &lt;BR /&gt;Code Unique &lt;BR /&gt;Trans ID &lt;BR /&gt;Trans No &lt;BR /&gt;Station &lt;BR /&gt;Receipt &lt;BR /&gt;Fiscal Year &lt;BR /&gt;Fiscal Month &lt;BR /&gt;Fiscal Week &lt;BR /&gt;Week Day &lt;BR /&gt;Sale Date &lt;BR /&gt;]; &lt;/P&gt;&lt;P&gt;AdHoc_Dimensions: &lt;BR /&gt;NoConcatenate &lt;BR /&gt;LOAD [Selectable Fields], &lt;BR /&gt;ApplyMap('Dim_CustomView_Mapping',&lt;BR /&gt;RowNo(),&lt;BR /&gt;null()) as _Dim_ID, &lt;BR /&gt;RowNo() as _Dim_Sort &lt;BR /&gt;Resident &lt;BR /&gt;AdHoc_Dimensions_tmp; &lt;/P&gt;&lt;P&gt;DROP Table AdHoc_Dimensions_tmp; &lt;/P&gt;&lt;P&gt;//_Dim_Sort //_Dim_ID AdHoc_Expressions_tmp: &lt;/P&gt;&lt;P&gt;LOAD * INLINE &lt;BR /&gt;[ Selectable Measures&amp;nbsp; &lt;BR /&gt;Sales &lt;BR /&gt;$ Avg &lt;BR /&gt;Sell Price&lt;BR /&gt; Current Avg Retail Price &lt;BR /&gt;Avg Set Price &lt;BR /&gt;Unit Cost &lt;BR /&gt;Total Cost &lt;BR /&gt;GM $ &lt;BR /&gt;GM % &lt;BR /&gt;Trans Count &lt;BR /&gt;Sales Units &lt;BR /&gt;Avg Trans Value &lt;BR /&gt;Sales Cont &lt;BR /&gt;GM Cont ]; &lt;/P&gt;&lt;P&gt;AdHoc_Expressions: NoConcatenate &lt;BR /&gt;LOAD &lt;BR /&gt;[Selectable Measures], &lt;BR /&gt;ApplyMap('Exp_CustomView_Mapping',RowNo(),null()) as _Exp_ID, &lt;BR /&gt;RowNo() as _Exp_Sort&lt;BR /&gt;Resident AdHoc_Expressions_tmp; &lt;BR /&gt;DROP Table AdHoc_Expressions_tmp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 09:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693210#M250747</guid>
      <dc:creator>ThornOfCrowns</dc:creator>
      <dc:date>2014-08-20T09:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693211#M250748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yep that's the correct script. My apologies for the bad format. The outcome of the message came out much different after posting it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 21:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693211#M250748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-20T21:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693212#M250749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santiago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you control the bookmarks through Macro's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 21:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693212#M250749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-20T21:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693213#M250750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I control the bookmark through a macro but it's only a help to replace the bookmark and it's necessary that the user make the right new selections. The button call a macro to delete the BM01 user bookmark and create a new bookmark with the same ID. This thread can help &lt;A href="https://community.qlik.com/thread/49572"&gt;Recall BM through macro code&lt;/A&gt; &lt;A href="https://community.qlik.com/thread/31757"&gt;Create Bookmark using Macro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 18:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693213#M250750</guid>
      <dc:creator>ssanchez</dc:creator>
      <dc:date>2014-08-21T18:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693214#M250751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your feedback mate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more question. As far a I know macro's does not work in Ajax. Do you use Ajax&lt;BR /&gt; or the IE Plugin?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 22:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693214#M250751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-21T22:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Enablement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693215#M250752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The methods used in these macros do not always work in Ajax. To ensure implementation I use IE-Plugin for these users.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2014 11:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Enablement/m-p/693215#M250752</guid>
      <dc:creator>ssanchez</dc:creator>
      <dc:date>2014-08-24T11:10:01Z</dc:date>
    </item>
  </channel>
</rss>

