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: 
qliklizzy
Creator II
Creator II

count expression i need in dimension but doesnt work

Hi

I have this as an expression but because of it being a pivot its repeated in each group so I want it in the dimension instead to show alongside the month and day - is this possible as if I use it in dimension I get error.  I tried using total but that just repeated the figure across the dates

=num(Count({<EdReadyKPI = {'Under'}>}EdReadyKPI)/Count(EdReadyKPI)*100, '#,#0%' )

 

thanks

Liz

Labels (1)
1 Solution

Accepted Solutions
rubenmarin

Hi, try using aggr:

Aggr(num(Count({<EdReadyKPI = {'Under'}>}EdReadyKPI)/Count(EdReadyKPI)*100, '#,#0%' ), [Dim1, Dim2,...])

 

Change [Dim1, Dim2,...] for the current dimensions used in table.

View solution in original post

2 Replies
rubenmarin

Hi, try using aggr:

Aggr(num(Count({<EdReadyKPI = {'Under'}>}EdReadyKPI)/Count(EdReadyKPI)*100, '#,#0%' ), [Dim1, Dim2,...])

 

Change [Dim1, Dim2,...] for the current dimensions used in table.

qliklizzy
Creator II
Creator II
Author

Thanks worked a treat!!!😉