Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

divide by count in a chart disregarding dimension

Hello

I have a barchart with this expression

=Count({<FlagDays={'>0'}>} FlagDays)  ---- This give me a total of 15

I then also use FlagDays as an dimension, and then i get the 15 spread out on this dimension.

Now i want to normalize these numbers, så i want to divide the result for each dimension with the total of 15

But how do i do that?

1 Solution

Accepted Solutions
rbecher
MVP
MVP

Hi Thomas,

have you tried:

=Count({<FlagDays={'>0'}>} FlagDays)  / Count(TOTAL {<FlagDays={'>0'}>} FlagDays)

- Ralf

Astrato.io Head of R&D

View solution in original post

2 Replies
MK_QSL
MVP
MVP

=Count({<FlagDays={'>0'}>} FlagDays)/=Count({1<FlagDays={'>0'}>} FlagDays)


or


=Count({<FlagDays={'>0'}>} FlagDays)/=Count(TOTAL {<FlagDays={'>0'}>} FlagDays)


rbecher
MVP
MVP

Hi Thomas,

have you tried:

=Count({<FlagDays={'>0'}>} FlagDays)  / Count(TOTAL {<FlagDays={'>0'}>} FlagDays)

- Ralf

Astrato.io Head of R&D