<?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 Qlik Sense - when a dimension filter data/report is blank in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-when-a-dimension-filter-data-report-is-blank/m-p/87229#M5813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;Needed your assistance to solve my issue.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is my Business requirement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the productivity of each doctors. I have the scheduling data in one table .i.e. total hours worked by each employee and each of them might work in more than one task for a given day (not always). This multiple task&amp;nbsp; is given a "category" to distinguish between the tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd table , I have the transaction table which contains the total no. of patients that doctor saw per day. This transaction table also have two , three dimensions (E.g Patient type, Patient New/ Established) which we use it to calculate the statistics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In my load script, I have created a join between these 2 tables based on 2 field: Doctor, Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my App, i have plotted the stats as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total patient seen per hour in Clinic:&lt;/P&gt;&lt;P&gt;Count of patients/ SUM(total hours) under category "Clinic" (Category = 'Clinic').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is If I apply a filter on any of the dimension in the transaction table (Patient Type, New/Established) my Pivot chart / any chart used for Calculation goes blank or Null. To test the data I plotted a table Chart and found that IF those dimension are added along with the schedule data it shows as blank or Null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my requirement, I wanted Qlik Sense to apply the filter 1st and then do the calculation. This will help me to to drill down and get to the statistics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone assist how to fix this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sultan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 15:14:27 GMT</pubDate>
    <dc:creator>iyub_sultan</dc:creator>
    <dc:date>2018-10-09T15:14:27Z</dc:date>
    <item>
      <title>Qlik Sense - when a dimension filter data/report is blank</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-when-a-dimension-filter-data-report-is-blank/m-p/87229#M5813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;Needed your assistance to solve my issue.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is my Business requirement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the productivity of each doctors. I have the scheduling data in one table .i.e. total hours worked by each employee and each of them might work in more than one task for a given day (not always). This multiple task&amp;nbsp; is given a "category" to distinguish between the tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd table , I have the transaction table which contains the total no. of patients that doctor saw per day. This transaction table also have two , three dimensions (E.g Patient type, Patient New/ Established) which we use it to calculate the statistics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In my load script, I have created a join between these 2 tables based on 2 field: Doctor, Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my App, i have plotted the stats as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total patient seen per hour in Clinic:&lt;/P&gt;&lt;P&gt;Count of patients/ SUM(total hours) under category "Clinic" (Category = 'Clinic').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is If I apply a filter on any of the dimension in the transaction table (Patient Type, New/Established) my Pivot chart / any chart used for Calculation goes blank or Null. To test the data I plotted a table Chart and found that IF those dimension are added along with the schedule data it shows as blank or Null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my requirement, I wanted Qlik Sense to apply the filter 1st and then do the calculation. This will help me to to drill down and get to the statistics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone assist how to fix this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sultan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 15:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-when-a-dimension-filter-data-report-is-blank/m-p/87229#M5813</guid>
      <dc:creator>iyub_sultan</dc:creator>
      <dc:date>2018-10-09T15:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - when a dimension filter data/report is blank</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-when-a-dimension-filter-data-report-is-blank/m-p/87230#M5814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Below is my load script: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;//below is the Transaction table. The join is based on 2 fields: CLINICIAN, sch_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;IPOP, &lt;/P&gt;&lt;P&gt;LAB_REC, &lt;/P&gt;&lt;P&gt;RAD_REC, &lt;/P&gt;&lt;P&gt;PHARM_REC, &lt;/P&gt;&lt;P&gt;SVC_CNT, &lt;/P&gt;&lt;P&gt;DR_STAFF_CATEGORY, &lt;/P&gt;&lt;P&gt;MNO, &lt;/P&gt;&lt;P&gt;DR_NO, &lt;/P&gt;&lt;P&gt;PAT_NO, &lt;/P&gt;&lt;P&gt;MED_DATE,&lt;/P&gt;&lt;P&gt;MED_DESC, &lt;/P&gt;&lt;P&gt;MED_TYPE, &lt;/P&gt;&lt;P&gt;ECLAIM_NO as CLAIM_ID,&lt;/P&gt;&lt;P&gt;PAT_VST_TYPE, &lt;/P&gt;&lt;P&gt;PAT_MED_TYPE, &lt;/P&gt;&lt;P&gt;UPPER(DR_NAME), &lt;/P&gt;&lt;P&gt;CLINICIAN,&amp;nbsp; &lt;STRONG&gt;//link between transaction to doctor schedule &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;UPPER(ORDERING_CLINICIAN), &lt;/P&gt;&lt;P&gt;date(MED_DATE,'YYYY-MM-DD') as 'Sch_date' &lt;STRONG&gt;//link between transaction to doctor schedule &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(PAT_VST_TYPE =1 and MATCH(MPT,1,3,8),'New Visit',IF(PAT_VST_TYPE =2 and MATCH(MPT,1,3,8),'Follow Up','N/A'))&amp;nbsp; as 'New/Follow';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[VISIT_SUMMARY_VW]:&lt;/P&gt;&lt;P&gt;SELECT A."IPOP", &lt;/P&gt;&lt;P&gt;A."LAB_REC", &lt;/P&gt;&lt;P&gt;A."RAD_REC", &lt;/P&gt;&lt;P&gt;A."PHARM_REC", &lt;/P&gt;&lt;P&gt;A."SVC_CNT", &lt;/P&gt;&lt;P&gt;A."DR_STAFF_CATEGORY", &lt;/P&gt;&lt;P&gt;A."MNO", &lt;/P&gt;&lt;P&gt;A."DR_NO", &lt;/P&gt;&lt;P&gt;A."PAT_NO", &lt;/P&gt;&lt;P&gt;A."MED_DATE", &lt;/P&gt;&lt;P&gt;A."MED_DESC", &lt;/P&gt;&lt;P&gt;A."MED_TYPE", &lt;/P&gt;&lt;P&gt;A."ECLAIM_NO", &lt;/P&gt;&lt;P&gt;A."PAT_VST_TYPE", &lt;/P&gt;&lt;P&gt;A."PAT_MED_TYPE", &lt;/P&gt;&lt;P&gt;A."DR_NAME", &lt;/P&gt;&lt;P&gt;A."CLINICIAN", &lt;/P&gt;&lt;P&gt;A."ORDERING_CLINICIAN" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM "HOSPITAL"."VISIT_SUMMARY_VW"&amp;nbsp; A,&amp;nbsp; "HOSPITAL"."PAT_MED_CLAIM_V3"&amp;nbsp; C WHERE&amp;nbsp; A.ECLAIM_NO = C.CLAIM_ID &lt;/P&gt;&lt;P&gt;AND C.INS_CNT &amp;gt; 0 AND IPOP IN ('OP', 'DC','OTHR') &lt;/P&gt;&lt;P&gt;AND A.CLINICIAN = 'GD20624'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//Doctor schedule table. This table has the total hours worked on a given date by a doctor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[Qlik_Appt_Schedule_Actual]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Appt_Sch_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // Doc_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "LIC No"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as "CLINICIAN", &lt;STRONG&gt; //link to transaction table; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(Schedule_Date,'YYYY-MM-DD') as 'Sch_date', &lt;STRONG&gt;//link to transaction table; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tot_Hours as "Total Hours",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sub_Category,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dept;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;"Appt_Sch_ID",&lt;/P&gt;&lt;P&gt;//"Doc_Name",&lt;/P&gt;&lt;P&gt;"LIC No",&lt;/P&gt;&lt;P&gt;"Schedule_Date",&lt;/P&gt;&lt;P&gt;"Tot_Hours",&lt;/P&gt;&lt;P&gt;"Category",&lt;/P&gt;&lt;P&gt;"Sub_Category",&lt;/P&gt;&lt;P&gt;"Dept"&lt;/P&gt;&lt;P&gt;FROM "HISREPORT"."dbo"."Qlik_Appt_Schedule_Actual";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 06:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-when-a-dimension-filter-data-report-is-blank/m-p/87230#M5814</guid>
      <dc:creator>iyub_sultan</dc:creator>
      <dc:date>2018-10-10T06:10:00Z</dc:date>
    </item>
  </channel>
</rss>

