Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Sera
Contributor III
Contributor III

Qlik Sense Product Lifecycle Management (continuous service/care)

Hallo Qlik-Community, 

we're using Qlik Sense Enterprise in our company and there is still one topic that we have very bad feeling about that i call "Qlik Sense Product Lifecycle Management":

How can one keep the overview over all the apps with their countless definitions of measures and variables?

For Example: 
Receiving an E-Mail like:
"+ + + INFORMATION + + +
By the end of this month, the Product Category 03 gets splitted up into 3 more specific product categories, namely: 03, 07 and 08."

How can i find out, in which apps, master-measure-definitions, variables and Qlik NPrinting-filters "product category" and "03" is used?
Often we have measure-definitions like: 
if( [Product Category] = $(=variable_that_stores_the_relevant_categories) , ... )
or sum( {< [Product Category] = {'03'} >} Sales )
etc. .

 

Changes like these will always happen... So we're in great need of a solution to make the process of changing such things as convinient as possible. Surely we're not alone with that need, huh?

8 Replies
JustinDallas
Specialist III
Specialist III

This is an interesting question.  I know that you can use techniques to make sure variables are globally declared throughout your infrastructure.  But I don't know how to answer the question of "If I change this, what will break".  As you've noted, between NPrinting, other dependent variables, Master Dimensions/Measures, and dependent components, I'm not sure if I even know where to begin.

 

Maybe you could use the QS API to get information on your various components, but that's a whole mini-app buildout.

 

='(

 

 

Sera
Contributor III
Contributor III
Author

Thought about that too (that would be the emergency plan).

The JSON-Objects of the Apps contain some information about variables and measure-definitions - unfortunately they only list the "title" of master-measures, instead of the actual "name" (and the only self-explaining naming we use, is name 😕 ).

With the API i once achieved to give out all the master-measure-definitions WITH their measure-name. I assumed that i can achieve the same for variables. Some code could search-and-replace the strings with variable definitions, and then i could use a string-search-tool to search through those giantic txt-files. app by app. (the "emergency plan")

But there has to be a more convinient and efficient way, huh?

The problem of reacting to a continously small changing outer data-environment should be sth, that every 3rd company has to deal with, huh?

Sera
Contributor III
Contributor III
Author

Although i also have a problem with "what will break if i change this?" - my question is more about "where do i have to change sth, so numbers keep beeing correct". 
We have a lot of NPrinting-auto-generated-reports and when a split-up in some sort of category happen, it's hard to spot the difference in the final - so users most likely won't notice (neither do i, currently).

Sera
Contributor III
Contributor III
Author

any more ideas?

marcus_sommer

I think there won't be never a solution which could fetch each kind of changes in the business logic and/or within the data and their quality. There is always the need that the results of the reports are evaluated by capable and interested people. Without this there will be always a risk that the output is wrong. And this isn't only related to Qlik else to all tools.

The best approach to minimize the efforts on the needed adjustments by changes is to use/create well-designed business-processes. This means the processes don't require much hard-coded stuff, well maintained core-data and so on - and are quite flexible so that new / changed / not more active products, article-groups, stores, sales-reps and so on don't need mandatory a touch.
Of course there will be always some exceptions which require some adjustments but it makes a big difference if the main-parts works smoothly and only a few things need to be changed or if it's reversed. The real nightmare is on the business-side and not on the technically point of view - whereby it becomes a nightmare on the technically-side, too …

Beside from this there is a technically method to keep more control to what is used where and this is to maintain all fields, measures, variables, comments and so on externally in a database and each application looped through it and load it's belonging parts. Everything would be on a single place and it's quite easy readable and changeable. But the efforts to implement such an approach is rather enormous.

In regard to your example it might be helpful to add some in between-layer so that you don't query directly specific product categories else something like a "focus-category" which contained the monthly/regular changing product categories and/or with this layer are extra [Sales] or [Flag] fields created - means also to transfer as much as possible of the logic from the UI into the datamodel.

- Marcus

Sera
Contributor III
Contributor III
Author

Shifting more and more definitions into the script-part, instead of UI-part always brings up the same question for me:

Can i re-run only the the variable-part of an app-script (meaning: both without reloading the data-tables and without losing the data-tables)? 

 

Thanks for your thoughts and suggestions!

Although we have about 100 automatically generated reports, we kinda maximzed the diversity in measure-definitions by the concept of "why would i need to see the same number in a second report, when it's already showing up in one?".
That makes introducing flags and in-between-data-layers rather inefficient 😞

Would have been cool, if there's a tool, that lists up for every worksheet, what variables, calculated dimensions and master measures are used on it (+their definition). And beeing able to either export or search through that list ^^' 

marcus_sommer

Maybe the following is helpful in some way:

https://qlikviewcookbook.com/2019/02/qlik-sense-document-analyzer-v1-5/ 

- Marcus

Sera
Contributor III
Contributor III
Author

Thanks for the suggestion, 

we tried already to get this Document Analyzer running months ago .
Unfortunately, this still works on Qlik Sense Desktop Version only and Qlik's current QlikSense Desktop Versions don't work, without beeing allowed to run javascripts for ads and tracking behaviour etc. in the background (from varying sources). Our company isn't OK with allowing javascript code to show content from any (because "varying") website. Our consultant has made a support-ticket at Qlik because of this (months ago) - but no answer in sight. 

The only tool i found in garden, that should work on a Qlik Sense Enterprise Server environment was
https://developer.qlik.com/garden/56def48dd585088d6a1d699d
Unfortunately i couldn't get this running due to a "unsupported certificate purpose" - also no answer to my issue-request from the AppsGovernance_v2-developer RVR...