Post

Word Cloud with Qlik

How to create a word cloud in Qlik

Contextualization

I worked as a data analyst at Grupo Morada, a company in the funeral sector that offers funeral services and products, cemetery services, and funeral assistance plans. Within the organization, there are various projects, and among them is “Morada da Memória,” an online memorial that features stories from family and friends of loved ones who have passed away. Its goal is to preserve memories and perpetuate emotions.

Memorial

How was it done?

At Grupo Morada, Qlik is used as a Business Intelligence tool. We migrated from the View version to Cloud. This version offers full-text search across all fields. Working with analysis has always meant visually interacting with the data.

But what if it were possible to directly ask questions and gain insights from the tool?

Qlik Interface

Since the February 2020 version, there have been a series of improvements in NLP (natural language processing) mechanisms, developed to better detect patterns and generate more relevant suggestions. To achieve this, we thought of gaining insights from the comment fields on the Morada da Memória site to understand what people are saying most about their loved ones.

NLP Qlik

After connecting to the MySQL database and converting the data into a QVD file, the data was loaded into the application.

Qlik Load

To split the words, I used the SubField function with a space (‘ ‘) parameter to divide each word, and TRIM to remove any extra spaces.

With the words separated, I created a script to count words that were not in a list of cohesive elements (e.g., and, the, or) that we created, as these would not be pertinent information at the moment.

1
=Count({<WORDS-={AND,OF’…}>}WORDS) | Formula for counting distinct words

We then inserted tags/keywords into the variable that performs the counting so it could also be used in the search field.

Qlik Script

Result

Word Cloud Result

Sentiment analysis of these words was performed as an additional topic within the dashboard where it is inserted, providing us with some very interesting ideas about how these memories are brought to mind.

This post is licensed under CC BY 4.0 by the author.