<?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 How to display the data based on Input value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178836#M45910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boppy,&lt;/P&gt;&lt;P&gt;I can see the code now! The peek,order should look like this:&lt;/P&gt;&lt;P&gt;peek('CarrierIdSeqNbr',-1,Carrier)&lt;/P&gt;&lt;P&gt;the tablename should be the one in qv not the one in your sql database.&lt;/P&gt;&lt;P&gt;remember to sort your sql query to get your Carrier id in the right order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2011 14:09:24 GMT</pubDate>
    <dc:creator>pat_agen</dc:creator>
    <dc:date>2011-03-24T14:09:24Z</dc:date>
    <item>
      <title>How to display the data based on Input value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178830#M45904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a input box in that i can able to select the values from 1 to 100 with step 10(i.e, 1,10,20,30,40,50,60,70,80,90,100). I have different fields for carrier table in the edit script. CarrierID is one field among that table. If i select 1 or 10 or 20 etc from the input box. I want to display the last n CarrierID records(i.e n=1 or 10,20) along with other fields of carrier table. How can i do this plz help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 09:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178830#M45904</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-03-24T09:48:03Z</dc:date>
    </item>
    <item>
      <title>How to display the data based on Input value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178831#M45905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boppy,&lt;/P&gt;&lt;P&gt;when you read the data into qv for Carriers do you have one record per carrier?&lt;/P&gt;&lt;P&gt;If so read in the data and add a field like this&lt;/P&gt;&lt;P&gt;rowno() as CarrierIdSeqNbr&lt;/P&gt;&lt;P&gt;this will go from 1 to n depending on how many Carrier records you have read.&lt;/P&gt;&lt;P&gt;at the end of the load put the last CarrierSeqNbr into a variable like this&lt;/P&gt;&lt;P&gt;set vMaxCarrierSeqNbr=peek('CarrierSeqNbr',-1,name of table you just loaded);&lt;/P&gt;&lt;P&gt;you have yourvariable from your drop down box giving how many records you want to see (let's call this vNbrRecordsToDisplay) , you have the maximum record loaded and each Carrier record has a sequential number attached to it.&lt;/P&gt;&lt;P&gt;now use an if clause in your expression&lt;/P&gt;&lt;P&gt;dimension CarrierId&lt;/P&gt;&lt;P&gt;if(CarrierIdSeqNbr&amp;gt;$(vMaxCarrierSeqNbr)-$(vNbrRecordsToDisplay),1)&lt;/P&gt;&lt;P&gt;set supress missing to yes on the presentation tab.&lt;/P&gt;&lt;P&gt;yourchart will show the last n CarrierIds based on your input value.&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 10:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178831#M45905</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-03-24T10:19:17Z</dc:date>
    </item>
    <item>
      <title>How to display the data based on Input value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178832#M45906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PatAgen,&lt;BR /&gt;&lt;BR /&gt;Thanks for responding to my task. I did as u said but it's not working. But one think i didn't understood, u said that at the end of load set the variable by using peek function. What is the use of it. I'm attaching the screen shot of edit script what i did can u check once and give reply whether it is correct or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 13:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178832#M45906</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-03-24T13:57:55Z</dc:date>
    </item>
    <item>
      <title>How to display the data based on Input value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178833#M45907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PatAgen,&lt;BR /&gt;&lt;BR /&gt;Thanks for responding to my task. I did as u said but it's not working. But one think i didn't understood, u said that at the end of load set the variable by using peek function. What is the use of it. I'm attaching the screen shot of edit script what i did can u check once and give reply whether it is correct or not.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5584.carr.PNG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5584.carr.PNG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 14:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178833#M45907</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-03-24T14:00:43Z</dc:date>
    </item>
    <item>
      <title>How to display the data based on Input value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178834#M45908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't see your edit. try attaching your qvw file and I'll give it a look over.&lt;/P&gt;&lt;P&gt;The peek function reads one specific record from a given table.&lt;/P&gt;&lt;P&gt;in my answer it i used as the way of recovering th elast Sequential number so as to have in a varaibale the maximum numbre of rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 14:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178834#M45908</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-03-24T14:00:47Z</dc:date>
    </item>
    <item>
      <title>How to display the data based on Input value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178835#M45909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/2476.carr.PNG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/2476.carr.PNG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 14:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178835#M45909</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-03-24T14:03:45Z</dc:date>
    </item>
    <item>
      <title>How to display the data based on Input value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178836#M45910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boppy,&lt;/P&gt;&lt;P&gt;I can see the code now! The peek,order should look like this:&lt;/P&gt;&lt;P&gt;peek('CarrierIdSeqNbr',-1,Carrier)&lt;/P&gt;&lt;P&gt;the tablename should be the one in qv not the one in your sql database.&lt;/P&gt;&lt;P&gt;remember to sort your sql query to get your Carrier id in the right order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 14:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178836#M45910</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-03-24T14:09:24Z</dc:date>
    </item>
    <item>
      <title>How to display the data based on Input value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178837#M45911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;P&gt;the peek command is corrected. are you still having an issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 14:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178837#M45911</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-03-24T14:10:56Z</dc:date>
    </item>
    <item>
      <title>How to display the data based on Input value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178838#M45912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PatAgen,&lt;/P&gt;&lt;P&gt;It's not working. Can u attach the qvw file what you have developed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 16:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-data-based-on-Input-value/m-p/178838#M45912</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-03-25T16:52:54Z</dc:date>
    </item>
  </channel>
</rss>

