Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
poojask123
Partner - Creator
Partner - Creator

Direct Query Not Working Qlik Sense

Hi,

 I am connecting to a SQL table using Direct Query in Qlik Sense, script is as below. However, i dont think the app is maintaining a live connection to bring data into the dashboard. I update/insert data in the db but the same is not reflected in Qlik Sense without a manual reload every time. Need help in understanding if  I am doing anything wrong here. I have dimension tables for PatientType,Doctor,Department and ICD.

Fact:
DIRECT QUERY dimension
Patient_Type_key,
Convert(varchar,[Invoice_Date],106) as InvoiceDate,
AppointmentDateTime,
[Doctor_Code] as DoctorKey,
[Doctor_department],
[ICDCODE]
measure
[Total_Amount],
[HospitalNO],
[OutPatient] ,
[InPatient],
WaitTime
FROM [A].[dbo].[ABC]
Where Invoice_Date >='2021-03-01 00:00:00.000'
and WaitTime>0;

 

Qlik Sense Business

Labels (2)
1 Reply
Bastien_Laugiero
Support
Support

Hello, 

 

My understanding with Direct Discovery is that it is facing a lots of limitation and no new developments are going on to overcome the limitations. 

Perhaps you are facing on of these limitation. Here is some documentation that may help:

I believe the recommendation would be to use ODAG (On Demand App Generation) which offers a more flexible solution

Hope this helps!

Bastien Laugiero
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.