Home  >  Blog  >   QlikView

Creating Data Islands in QlikView using Data Source

An inline table may be used to construct a data island from any data source. It is possible to decouple from the data model by using data islands to refer to dates, table headers, or anything else. Learn how to use Data Source in QlikView to construct data islands through this blog.

Rating: 5

Data Islands

Sometimes you want to create a link between two tables where no link exists.  A table that does not have any associations to other tables is called ‘Data Island’.  You can create a link between two tables with Concat () function.

Data islands can be created from any data source and are often created as an inline table. Data islands can be used to refer dates, table headers, or whatever you need to disconnect from most of the existing data in the data model.

Learn how to use QlikView, from beginner basics to advanced techniques, with online video tutorials taught by industry experts. Enroll in Free QlikView Training Demo!

One useful example of data islands is to aid in the construction of table charts in the presentation layer of the document, for instance, to allow you to create rows containing measured values rather than dimensions. Let’s use a call center example where we track customer representative telephone calls and call times. In the script, you load an inline table named call table with an inline load statement and one column, metrics. In this table you will specify three records: call quantity, call duration, and call center productivity, as shown in the following code:

Related Article: Handling Metadata in Qlikview

[call table]:
Call quantity
Call duration
Call center productivity

Then, we can add some data about the call center, via an inline load:
Call center, via an inline

[call center log]:
Date id,    calls,
1,  1000, 200
2,  1500, 300
3,  2000, 400

MindMajix YouTube Channel

Explore QlikView Sample Resumes! Download & Edit, Get Noticed by Top Employers!

From this point, it’s a matter of creating a list box in the front-end of qlik view, and selecting the dimensions name of metrics from the field list in the list box properties general tab. This will create the list box with the three measures you would like to report. The expression for this list box is dependent on the corresponding row in the data island. In this table, the expression can be set by clicking on the add button in the expression tab and entering the following expression:

If (metrics  = “call quantity”,
Sum(calls), if (metrics =
“call duration”,
Sum (call-time-minutes),
Sum(calls)/sum (call-time-minutes)))

The preceding code will sum up all calls if the metric name is equal to call quantity. If the metric name is call duration, the row will display the sum of the call time minutes. If the row is anything else (call center productivity, in this case), the row will display the sum of all calls divided by the sum of call time minutes.

Join our newsletter

Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!

Course Schedule
QlikView TrainingApr 27 to May 12View Details
QlikView TrainingApr 30 to May 15View Details
QlikView TrainingMay 04 to May 19View Details
QlikView TrainingMay 07 to May 22View Details
Last updated: 03 Apr 2023
About Author

Vinod Kasipuri is a seasoned expert in data analytics, holding a master's degree in the field. With a passion for sharing knowledge, he leverages his extensive expertise to craft enlightening articles. Vinod's insightful writings empower readers to delve into the world of data analytics, demystifying complex concepts and offering valuable insights. Through his articles, he invites users to embark on a journey of discovery, equipping them with the skills and knowledge to excel in the realm of data analysis. Reach Vinod at LinkedIn.

read more
Recommended Courses

1 / 15