Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2023, a live, in-person thrill ride. Save $300 before February 6: REGISTER NOW!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Easy Extract Information Density and Subset Ratio

Is there any way to simple extract the information density and subset ratio information for each column in each table in QV?

5 Replies
jebamalai
Specialist
Specialist

Please check the below link

Re: Chart with count of $Field values

satishkurra
Specialist II
Specialist II

Hi

There is no way we can extract the information from Table Viewer in Qlikview. It is just for viewing purpose.

But

We can write some expressions on the UI layer to get the Inf. Density and SS

Please see here

1. Load some data from file/DB

2.

List box with expression as =[$(=minstring($Field))]

Label as

=minstring($Field)

3. Create Pivot Table with no dimension and expressions as

Label: Distinct Values

Expression: count(DISTINCT [$(=minstring($Field))])

Label: Null Values

Expression: sum(if(isnull( [$(=minstring($Field))]), 1, 0))

Thanks

Satish

Peter_Cammaert
Partner - Champion III
Partner - Champion III

I think there is no way to calculate Subset Ratio's using QV objects and dimensions/expressions. Those things typically make use of fields (all values thrown together) while a subset ratio tells you how many values appear in a field instance in a particular internal table.

Not applicable
Author

Well guys thank you all for your help - all helpful answers, alas no possible way to extract that information as is. The only solution I came up with which was useful to a point was a straight table with $Fields as a dimension, and then have a couple of expressions which were count($Fields), count(DISTINCT $Fields) and then count(DISTINCT $Fields)/count($Fields) to show where fields held the same value which is some sort of information integrity measure rather than density. Thanks guys anyway, useful chat.

EquiBal
Contributor
Contributor

You are wrong.. this did not work. the expressions are base less and a waste of time.