Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
seband_fredes
Contributor II
Contributor II

SetAnalysis in a Pivot Table

Hi everyone,

I've this pivot table:

seband_fredes_0-1623280520837.png

The Pivot Table's expression is a Count, and I need to calculate this result:

seband_fredes_1-1623280710803.png

Have anyone some solution for this?

 

Thanks

 

3 Replies
sunny_talwar

May be this

Count(DISTINCT Letter)/Count(TOTAL DISTINCT Letter)
sergio0592
Specialist III
Specialist III

I try with dimensionnalty() function for Total in pivot chart (learn from Sunny T!)

 

if(Dimensionality()=0,Count({<Value-={""}>} Letter) / Count(Letter),sum(Value))

 

sergio0592
Specialist III
Specialist III

Sorryn in order to keep the Value1/Value2 representation it's :

if(Dimensionality()=0,Count({<Value-={""}>} Letter)&'/'& Count(Letter),sum(Value))