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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count Specific - In line chart

Hi all,

I'm trying to show average amounts per time in a line chart by summing the amounts per time and divide it by the number of days. However, something is fishy, pls see below. For instance, When choosing 3 (distinct) dates, these two graphs are showing different values. Seems very odd to me. Any ideas?
Capture.JPG.jpg

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Is your Date field a key field that links one or more tables? If so, qlikview cannot know from which table it should count the Date values. You can get undefined behaviour in that case. The solution is to use another field from the table over which you want to count.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Is your Date field a key field that links one or more tables? If so, qlikview cannot know from which table it should count the Date values. You can get undefined behaviour in that case. The solution is to use another field from the table over which you want to count.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

The below Is all I got.

And im counting the Date field.

Thanks in advance,

Olle

Text(Date(SettlementTime, 'YYYY-MM-DD')) As Date

Capture.JPG.jpg

Not applicable
Author

Found the problem. Issues with the underlying data.

//O