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: 
Anonymous
Not applicable

Number of Rows that have a Value

How do I get the number of rows that have a value in a dimension?

I have tried:

Sum(Aggr(Count(DISTINCT {<ExpectedCases = {'*'}>} OperatorName),OperatorName))

noofrows(column(1))

Sum(if(isnum($(vEC))=-1,1,0))

max(rank(total column(1))

What I'm trying to do is modify this formula

(rank(total column(1))/(noofrows(TOTAL)/2))-1

so that denominator is number of records in the dimension that have a value instead of the total records in the dimension.

Please let me know if you have any questions.

20 Replies
sunny_talwar

Wow, I am glad it finally worked, but it leaves me cursious why some of the others didn't work.... Another option to use in the chart may be this

NoOfRows(TOTAL)