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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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?

Labels (1)
1 Solution

Accepted Solutions
rbecher
Partner - Master III
Partner - Master III

Hi Thomas,

have you tried:

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

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine

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
Partner - Master III
Partner - Master III

Hi Thomas,

have you tried:

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

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine