Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am preparing some guidelines on how EXCEL files should look like to serve as source data for Qlik Sense.
(see draft below)
Is there any document available in QLIK COMMUNITY for further inspiration?
@, #, $, %
)._
) instead (e.g., Customer_ID
instead of Customer ID
).Ctrl + T
) if necessary, but Qlik Sense can also work with raw tabular data.Sales_Data
, Customers_List
, etc.).Sheet1
, Sheet2
.Customer_ID
in both Sales
and Customers
sheets).NULL
values instead of leaving them blank.N/A
, Unknown
) if missing values need identification.MM/DD/YYYY
or DD/MM/YYYY
) to ensure proper recognition.$, €, £
) directly in numeric fields; Qlik Sense can handle formatting separately.0.25
instead of 25%
).Customer_ID
, Product_Code
) for linking.Customer_ID_Sales
vs. Customer_ID_Orders
) to prevent auto-linking errors.ProductName
or Product_Name
).Sales_Data.xlsx
instead of Sales Data.xlsx
).Category
, Subcategory
, Product
).Hi @DoctorPolidori ,
I find quite helpful Qlik guidelines:
Loading data from Microsoft Excel spreadsheets | Qlik Sense on Windows Help
You can add more specific instructions, but it depends on the distinct case necessities and, in my opinion, can't be summarized in a general way.
That's a lot of guidelines... Why? What is the context? Is it some kind of app that will be able to import a standardized excel file without any manual fixing in load script/data load editor?
I think perhapsit will be difficult for people to verify their files against this checklist? Perhaps so difficult that they simply will not do it?
1.1 Why do you want to "Avoid spaces in field names"? That shouldn't be necessary.
1.2 In my opinion, the first three bullets are not needed. Data load should be built so that formatting is handled. Perhaps some source data actually uses text format for dates, then there shouldn't be a need for a user to manually fix such things in Excel. The loading process in qlik should make sure things end up correctly in the data model.
3.1 Why? In some scenarios you may want blank values, not nulls. And how do you want peiople to do that in excel,so that the value is actually read by qlik as a null value? If you do need to make all blank values to nulls, load them in Qlik using trim().
2.3 and 4.1 is more or less the same instruction. But I get a bit confused here at 4.1 and 4.2 (and 6.1). The overall feeling is that these instructions are for people that aren't very famiiar with how to treat data in files. But here you mention "primary & foreign keys", concepts that will likely not be understood.
Section 5 is already mentioned elsewhere in the document (kind of).
6.2 Really? If someone has got a huge excel file with many rows and there are dates in there, do you actually want them to go over the data in excel to make sure there are no gaps in the time series? I strongly believe that should be taken care of when data is loaded instead of people spening lots of time to fix their file first.
I could probably comment more, or I should have commented less, if I knew more about the context. But basically: I would not like to be handed these instructions myself.
Oh, I suddenly realise that I know who you are and therefore possibly know a tiny bit more about the context. 😄 Well, I am probably right then that the guidelines are aimed at "regular" people, not data people. So I do believe parts of this is too technical for people to understand. But at the same time these non data people are often building apps themselves (without the support of a developer) in your organization, right?
Do you actually have a template app and you want people to be able to prep data files so that it can be loaded by this app, or are the instructions more aimed at best practice so that it will be easier for them to build apps from scratch? I guess they are using the data load manager more than the script editor?
thanks for sharing!
Hi @DoctorPolidori ,
I find quite helpful Qlik guidelines:
Loading data from Microsoft Excel spreadsheets | Qlik Sense on Windows Help
You can add more specific instructions, but it depends on the distinct case necessities and, in my opinion, can't be summarized in a general way.
If you must absolutely do it, this is a good set of guidelines, just make sure to warn the users that they risk losing a limb if they break them 😉. In practice, they will; warning or not!
😂
So true!