<?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: Unable to select current selection show data on toggle between switch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206151#M387628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your issue is that your LinkTable. The way it is structured today, where you concatenate the RecID keys from two tables, it is creating a table where there is only value for one or the other is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141355_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when OriginalTable_RecID is available DistinctTable_RecID is missing and vice-versa. May be you need to do a left join instead of performing a concatenate here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LinkTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident LinkTableTemp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Date &amp;lt;&amp;gt; '03/05/1900' AND Date &amp;gt; '12/31/2014';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Left Join (LinkTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT LinkTableTempDistinct&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Date &amp;lt;&amp;gt; '03/05/1900' AND Date &amp;gt;= '12/31/2014';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop Table LinkTableTemp, LinkTableTempDistinct;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having said that, I did have a work around for you in the application. Change your expressions for Notice Only table to add this set analysis in them&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;$(=Concat({&amp;lt;$Table = {'OriginalTable'}&amp;gt;}$Field, ', ')), DistinctTable.RecID = p(OriginalTable.RecID)&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is basically saying that you need to ignore any selection in OriginalTable and show rows where DistinctTable.RecID = OriginalTable.RecID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you expression will now look like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;$(=Concat({&amp;lt;$Table = {'OriginalTable'}&amp;gt;}$Field, ', ')), DistinctTable.RecID = p(OriginalTable.RecID)&amp;gt;} DistinctTable.NOTICE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;$(=Concat({&amp;lt;$Table = {'OriginalTable'}&amp;gt;}$Field, ', ')), DistinctTable.RecID = p(OriginalTable.RecID)&amp;gt;} DistinctTable.CPSC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thing to note here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Expression will show error in the syntax editor, but don't be concerned because its just saying that synatx editor is having difficulty in understand the code because of the dollar sign expansion I have in there, but it should have no problem in displaying the required output for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Make no selections in the DistinctTable filters, all selections should now be made in OriginalTable filters and all those filters will flow through our logic in the set analysis field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching your qvw back again for you to test this out and see if this is what you wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2016 10:55:10 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-20T10:55:10Z</dc:date>
    <item>
      <title>Unable to select current selection show data on toggle between switch</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206148#M387625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on application where I need to toggle between two switches ("Notice Only"&amp;nbsp; and&amp;nbsp; "Notice with Parts"). &lt;/P&gt;&lt;P&gt;On particular filter selection, I should be able to show the relevant data in both tables. I have attached the sample_reduced_data file with it. How to achieve this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 16:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206148#M387625</guid>
      <dc:creator />
      <dc:date>2016-10-19T16:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to select current selection show data on toggle between switch</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206149#M387626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is relevant here? I am not sure I understand the desired output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 17:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206149#M387626</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-19T17:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to select current selection show data on toggle between switch</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206150#M387627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hereby I try to explain you what I am facing the issue with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I clicked the button "Notice with parts" with all filters cleared. I will get all the records with respective values in the table.&lt;/P&gt;&lt;P&gt;2. Now I want to filter this data by applying filter selection on "Notice". Lets select notice no as "&lt;SPAN style="font-size: 13.3333px;"&gt;A110E13115222000&lt;/SPAN&gt;". After this selection, I can see JOB STATUS REPORT (NOTICE WITH PARTS)&amp;nbsp; having 6 records.&lt;/P&gt;&lt;P&gt;3. Now, I want to see the table with Notice only view. So if I click the button "NOTICE ONLY", I should be able to see a single record. But I don't see anything getting populated there. &lt;/P&gt;&lt;P&gt;4. Now I am clearing the current selection by clicking button "CLEAR SELECTIONS". Now I can see all the values in the table report JOB STATUS REPORT (NOTICE WITHOUT PARTS) &lt;/P&gt;&lt;P&gt;5.&amp;nbsp; After selecting the same filter notice no as mentioned above I should able to see a single record. But I don't see it. But if I select another filter before selecting that one then I could able to see that one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is bit clear now. How to achieve this.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 17:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206150#M387627</guid>
      <dc:creator />
      <dc:date>2016-10-19T17:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to select current selection show data on toggle between switch</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206151#M387628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your issue is that your LinkTable. The way it is structured today, where you concatenate the RecID keys from two tables, it is creating a table where there is only value for one or the other is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141355_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when OriginalTable_RecID is available DistinctTable_RecID is missing and vice-versa. May be you need to do a left join instead of performing a concatenate here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LinkTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident LinkTableTemp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Date &amp;lt;&amp;gt; '03/05/1900' AND Date &amp;gt; '12/31/2014';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Left Join (LinkTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT LinkTableTempDistinct&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Date &amp;lt;&amp;gt; '03/05/1900' AND Date &amp;gt;= '12/31/2014';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop Table LinkTableTemp, LinkTableTempDistinct;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having said that, I did have a work around for you in the application. Change your expressions for Notice Only table to add this set analysis in them&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;$(=Concat({&amp;lt;$Table = {'OriginalTable'}&amp;gt;}$Field, ', ')), DistinctTable.RecID = p(OriginalTable.RecID)&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is basically saying that you need to ignore any selection in OriginalTable and show rows where DistinctTable.RecID = OriginalTable.RecID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you expression will now look like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;$(=Concat({&amp;lt;$Table = {'OriginalTable'}&amp;gt;}$Field, ', ')), DistinctTable.RecID = p(OriginalTable.RecID)&amp;gt;} DistinctTable.NOTICE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;$(=Concat({&amp;lt;$Table = {'OriginalTable'}&amp;gt;}$Field, ', ')), DistinctTable.RecID = p(OriginalTable.RecID)&amp;gt;} DistinctTable.CPSC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thing to note here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Expression will show error in the syntax editor, but don't be concerned because its just saying that synatx editor is having difficulty in understand the code because of the dollar sign expansion I have in there, but it should have no problem in displaying the required output for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Make no selections in the DistinctTable filters, all selections should now be made in OriginalTable filters and all those filters will flow through our logic in the set analysis field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching your qvw back again for you to test this out and see if this is what you wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 10:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206151#M387628</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-20T10:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to select current selection show data on toggle between switch</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206152#M387629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the much need explanation. You arrived with the right answer according to my question I asked you. But here I am facing some issues with filtering. It works perfectly fine with NOTICE filter. What if I need to filter according to CAD SUPERVISOR, DESIGNER, ENGINEER or any other attribute filters available?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Suppose I am selecting a CAD SUPERVISOR value as "DCROSS", it will show all the records with CAD SUPERVISOR DCROSS in table JOB STATUS REPORT (NOTICE WITH PARTS) but it will not show the records with CAD SUPERVISOR DCROSS in NOTICE ONLY view.&lt;/P&gt;&lt;P&gt;On selection of any filter or combination of filter it should show the respective rows in both tables. How to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 17:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206152#M387629</guid>
      <dc:creator />
      <dc:date>2016-10-20T17:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to select current selection show data on toggle between switch</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206153#M387630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/people/acnikhade"&gt;acnikhade&lt;/A&gt;‌ - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in order to allow for better selection, I would suggest creating a better join in the script. If changing in the script isn't possible, we can look for a better expressions on the front end. But before I do that, it would be good to know if you can make changes in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 14:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206153#M387630</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-21T14:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to select current selection show data on toggle between switch</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206154#M387631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help. I restructured my data model so that I don't have to handle much stuffs in script. Now it looks pretty descent. You always come out as a great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-select-current-selection-show-data-on-toggle-between/m-p/1206154#M387631</guid>
      <dc:creator />
      <dc:date>2016-10-21T17:13:28Z</dc:date>
    </item>
  </channel>
</rss>

