<?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 Getting the integers from the db in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64934#M789401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have my qvw file connected to a db through ODBC. I'm fetching the data using LOAD statement, where I'm loading each column as a unique file name. the data that is saved in the table is in the form of VARCHAR. The data is differentiated on the basics of week number, meaning week1 has a value in requirements as' 7/11 requirements have been meet', but for week 2 has value 'Requirement 10 has been accomplished'&amp;nbsp; .And in the end the data is to be shown in the text box object. I'm using" =Concat(requirement,chr(13)) "&amp;nbsp; in the text box properties [requirement being the column name]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem: How to extract just the integer values that are available in the column? How to show the distinct values in the textbox? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should I be doing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me out. Let me know if anything is not understandable. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64934#M789401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have my qvw file connected to a db through ODBC. I'm fetching the data using LOAD statement, where I'm loading each column as a unique file name. the data that is saved in the table is in the form of VARCHAR. The data is differentiated on the basics of week number, meaning week1 has a value in requirements as' 7/11 requirements have been meet', but for week 2 has value 'Requirement 10 has been accomplished'&amp;nbsp; .And in the end the data is to be shown in the text box object. I'm using" =Concat(requirement,chr(13)) "&amp;nbsp; in the text box properties [requirement being the column name]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem: How to extract just the integer values that are available in the column? How to show the distinct values in the textbox? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should I be doing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me out. Let me know if anything is not understandable. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64934#M789401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64935#M789403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give an example of your script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64935#M789403</guid>
      <dc:creator>sarafamiglietti</dc:creator>
      <dc:date>2018-02-07T10:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64936#M789405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To extract the numbers, you can probably use KeepChar(), like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KeepChar(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Requirement 10 has been accomplished'&lt;/SPAN&gt;, '1234567890')&amp;nbsp; -&amp;gt;&amp;nbsp; returns 10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64936#M789405</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-02-07T10:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64937#M789407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This is what I'm trying out : please recommend :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;mid(Requirement,0,4) as Requirements,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;/*With this I'm getting the initial 4 values of all the rows in the column*/&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;/*SubField(Requirement,' ',1) as requirement,*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;/*Didn't get any answer*/ &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM database.`xml`; /*Database is the db name and xml is table name, requirements is the column name*/&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64937#M789407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T10:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64938#M789409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really thought it would work.But it is not showing any data. I thin the issue is in the display of text box, I used your query &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;KeepChar(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;requirements&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, '1234567890') as requirements, the n in text box properties, I tried = requirements.&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: 13px;"&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: 13px;"&gt;Kindly help out&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64938#M789409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T10:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64939#M789411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works textbox only when there is a single record in the scope. Select any requirement, you would see it's value in the textbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64939#M789411</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-02-07T10:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64940#M789413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Tresesco.&lt;/P&gt;&lt;P&gt;Formula will work in the text box if you select a requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without selection:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="192691" alt="Capture1.JPG" class="jive-image image-1" height="127" src="https://community.qlik.com/legacyfs/online/192691_Capture1.JPG" style="height: 127.477px; width: 316px;" width="316" /&gt;&lt;/P&gt;&lt;P&gt;With a selection:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="192695" alt="Capture2.JPG" class="jive-image image-2" height="134" src="https://community.qlik.com/legacyfs/online/192695_Capture2.JPG" style="height: 133.504px; width: 316px;" width="316" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64940#M789413</guid>
      <dc:creator>sarafamiglietti</dc:creator>
      <dc:date>2018-02-07T11:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64941#M789416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to clarify, the there are two columns requirements and week. So could you tell me how to select a single one. I'm not sure how to do it, because I'm directly fetching it from the the db and can't have a list box present there in the display as mentioned by @sara. I hope I'm understandable. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64941#M789416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T11:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64942#M789419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure to understand your problem.&lt;/P&gt;&lt;P&gt;Can you give us your Qlikview application (or a simplified version if data are private)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64942#M789419</guid>
      <dc:creator>sarafamiglietti</dc:creator>
      <dc:date>2018-02-07T11:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64943#M789420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually this is the simplified version, data is confidential that is why I'm unable to share the code with you our the qvw file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the screenshots, hopefully this will bring about some clarification :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192696_1.PNG" style="height: 291px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/192697_2.PNG" style="height: 240px; width: 620px;" /&gt;&lt;IMG alt="3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/192707_3.PNG" style="height: 267px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping here in text box I would only see 7/11 and in&amp;nbsp; another text box just 10. Kindly help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 12:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64943#M789420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T12:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64944#M789421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As explained, it's not possible in a text box to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can handle it with set analysis, but I am not convinced by this solution because &lt;EM&gt;Requirement&lt;/EM&gt; is a dimension and not an indicator which can be used in an aggregation function like sum, max etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 14:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64944#M789421</guid>
      <dc:creator>sarafamiglietti</dc:creator>
      <dc:date>2018-02-07T14:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64945#M789422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara, I don't have licensed software so I won't be able to view your file. Please if you can share the code screenshot that will be really helpful. Also I'll start looking into Set Analysis &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 05:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64945#M789422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-08T05:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the integers from the db</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64946#M789423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the screenshot of the result and the corresponding formula&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192783_Capture3.JPG" style="height: 203px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;max({$ &amp;lt;WW = {1}&amp;gt;} KeepChar( Requirement, '1234567890') )&lt;/P&gt;&lt;P&gt;max({$ &amp;lt;WW = {2}&amp;gt;} KeepChar( Requirement, '1234567890') )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 09:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-integers-from-the-db/m-p/64946#M789423</guid>
      <dc:creator>sarafamiglietti</dc:creator>
      <dc:date>2018-02-08T09:25:08Z</dc:date>
    </item>
  </channel>
</rss>

