<?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: Number of visits inside given date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329166#M98381</link>
    <description>&lt;P&gt;I am closing this, as talend doesn't have&amp;nbsp;a proper solution to it. We have solved this issue by developing SQL.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jul 2018 11:37:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-04T11:37:30Z</dc:date>
    <item>
      <title>Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329147#M98362</link>
      <description>&lt;P&gt;Source &amp;amp; Destination - MSSQL&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I got to join 3 tables to achieve the number of visits made by a Patients to the hospital between their treatment period.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Example:-&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. IF Patient-A's treatment is between "01-JAN-2016" and "30-JUN-2016". Then we need to get how many visits he made to the hospital and the most recent visit date during the treatment period.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2. From the same source, IF Patient-B's &lt;SPAN&gt;treatment is between "17-APR-2017" and "18-SEP-2017". Then we need to get how many visits he made to the hospital and the most recent visit date during the treatment period..&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How&lt;SPAN&gt;&amp;nbsp;can we achieve this? Please suggest.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 09:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329147#M98362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-02T09:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329148#M98363</link>
      <description>&lt;P&gt;Check the following post regarding dates comparisons with TalendDate routines&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCsmPCAS" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/Between-AND-check-and-pass-the-value/td-p/124991&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 10:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329148#M98363</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-07-02T10:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329149#M98364</link>
      <description>&lt;P&gt;Thanks TRF for replying back, the question in the the attached link was also raised by me. Its a same issue, not resolved yet. I closed the previous one as that work put on hold. Now it came back again with some extra requirement. Please guide.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 10:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329149#M98364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-02T10:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329150#M98365</link>
      <description>&lt;P&gt;You don't give enough details.&lt;/P&gt;&lt;P&gt;Where are you with the job design?&lt;/P&gt;&lt;P&gt;Can you share it?&lt;/P&gt;&lt;P&gt;Why do you need 3 tables?&lt;/P&gt;&lt;P&gt;With which particular point are you stuck?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 10:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329150#M98365</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-07-02T10:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329151#M98366</link>
      <description>&lt;P&gt;Attached the graph which i am working on. Since this request is the hard part i am just playing with lots of options to get the result.&amp;nbsp; Once this is done then i will do the rest part. 3 tables bcz, table 1 is having patient details, table-2 is having diagnosis details, and table-3 is having billing details. I will be picking some key fields from all 3 tables but the main part is, to get the number of visits during the treatment period. How to get this if the treatment period are different for every patients? Here i got stuck.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtFV"&gt;DAS8.jpg&lt;/A&gt;</description>
      <pubDate>Mon, 02 Jul 2018 10:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329151#M98366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-02T10:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329152#M98367</link>
      <description>&lt;P&gt;Is the treatment period same as count(visits) between dateA and dateB where patient=A?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 10:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329152#M98367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T10:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329153#M98368</link>
      <description>&lt;P&gt;treatment period will have start and end date of treatment. We need to determine how many visits made inside this treatment period by a single patient&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 10:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329153#M98368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T10:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329154#M98369</link>
      <description>&lt;P&gt;I'm confused by 'treatment period'. If it refers to just visits by a patient my query above should work&lt;/P&gt;&lt;P&gt;If treatment period is a period determined by a dr subject to a vist, it should be recorded either by value or obtained by count&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 12:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329154#M98369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T12:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329155#M98370</link>
      <description>&lt;P&gt;Doctor will give patients a 6 month or 1 year treatment procedure. There is a column which records DATE of a patients visit. We have to take the count of those date and display in the output.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 12:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329155#M98370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T12:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329156#M98371</link>
      <description>&lt;P&gt;&lt;SPAN&gt;select patientNo,patientName, count(visitDate) as numberVisits&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;from mydatabase&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;where visitDate between&amp;nbsp;'20180101' and&amp;nbsp;'20180630'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;groupby patientNo&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;this will give you all the patientsNo, patientName and the number of visits between the two dates you specify&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 13:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329156#M98371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T13:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329157#M98372</link>
      <description>&lt;P&gt;ps add all the select items in the group by clause except for the aggregated items ie(count() sum() )&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 13:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329157#M98372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329158#M98373</link>
      <description>&lt;P&gt;absolutely, but&amp;nbsp;this between/and function is not present in Talend. Main thing is, every patient will have different&amp;nbsp;&lt;SPAN&gt;visitDate&amp;nbsp;period. In your example the treatment period is&amp;nbsp;between&amp;nbsp;'20180101' and&amp;nbsp;'20180630'. For some XYZ person, the treatment period will be&amp;nbsp;between&amp;nbsp;'20180417' and&amp;nbsp;'20181017'......&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 13:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329158#M98373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T13:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329159#M98374</link>
      <description>&lt;P&gt;I've used between in talend before&lt;/P&gt;&lt;P&gt;you can use where visitDate &amp;gt; whatever and visitDate &amp;lt; whatever&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can only use one where clause for visitDate per query&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 13:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329159#M98374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T13:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329160#M98375</link>
      <description>&lt;P&gt;otherwise you will have to identify the where period for each patient group&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 13:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329160#M98375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T13:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329161#M98376</link>
      <description>&lt;P&gt;these "&amp;lt;" and "&amp;gt;" also didn't worked.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 13:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329161#M98376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T13:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329162#M98377</link>
      <description>&lt;P&gt;Show me your query - is it mssql?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 10:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329162#M98377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-04T10:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329163#M98378</link>
      <description>&lt;P&gt;not in mssql, but this should be in tMap's expression. Am i right?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 10:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329163#M98378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-04T10:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329164#M98379</link>
      <description>&lt;P&gt;you need to run in tmssqlinput&lt;/P&gt;&lt;P&gt;intmap you can define what how you want to treat the data that comes from mssqlinput&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 11:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329164#M98379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-04T11:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329165#M98380</link>
      <description>&lt;P&gt;if you have several queries you can join them in tmap&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 11:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329165#M98380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-04T11:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Number of visits inside given date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329166#M98381</link>
      <description>&lt;P&gt;I am closing this, as talend doesn't have&amp;nbsp;a proper solution to it. We have solved this issue by developing SQL.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 11:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Number-of-visits-inside-given-date/m-p/2329166#M98381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-04T11:37:30Z</dc:date>
    </item>
  </channel>
</rss>

