Discussion board where members can get started with Qlik Sense.
Can i use the below SQL query directly while loading the data into Qlik sense. So that it will only load where the below query works and pull the necessary data from SQL database.
SELECT Customers.CustomerName, Orders.OrderID
LEFT JOIN Orders
ORDER BY Customers.CustomerName;
any valid query (for your DBMS) should work
You are going to want to check out the New to Qlik Sense Videos. They are full of useful information. New to Qlik Sense Videos
There is a section on Data Loading & Modeling. You can find what you are looking for there.
Basically you are going to create a connection to your SQL database. Then you are going to connect using that connection. You can then build your query/load statement from there.
Something like this:
LIB CONNECT TO 'MyDBConnection';
CustomerName as [Customer Name],
OrderID as [Order ID];
SQL SELECT Customers.CustomerName, Orders.OrderID
Hope this helps.
As a tip. If you are going to load from SQL I recommend loading from a view (on the Server Db instance side).
This abstracts any complex to very complex query structures and you/your users etc don't need to be concerned with SQL syntax.
Yes you can use any valid SQL query in Qliksense/Qlikview to load the data from databases..
Yes, You can. Similar threads like you?
Qlik Sense Data Load Editor - Paste SQL query statement
SQL Queries with Qlikview
You can use a sql query like this in your script: