Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
toto55
Contributor
Contributor

DIRECT QUERY CONNECT FAILED

Hello!

    I' m trying to use direct query in Qlik Sense ( ...first try).

    The problem is that if I execute via reload button in the script editor, everything works, but when I go to the App

I get the message "connection failed". on every chart that uses measure fields from that query .

The same query copied in a qvw in Qlik 11 works in both cases.

Any help ?

Thanks in advance

                                    Roberto

3 Replies
Anonymous
Not applicable

Hi, I got exactly the same issue. No idea why loadscripts succeed but charts fail.

simon_minifie
Partner - Creator III
Partner - Creator III

Hi Roberto,

Try turning on trace logging to see where the issue is:

Logging Direct Discovery Access

Thanks,

Simon

ToniKautto
Employee
Employee

I find it really hard to advise on load issues without any script or log references.

Are you using desktop client or server side authoring?

Do you see a direct table in data model viewer?

Did your reload load any values into direct table?

How have you setup your visualizations?

Are dimensions from direct table or other table?

What aggregation are you performing?