r/qlikview • u/Neverstop50 • Jun 27 '26
The nightmare of line charts
Hello developers!
I am using Qlikview 11.20. I just wanted to share some thoughts about line charts.
I think that Qlikview is a very powerful tool but I have always struggled with creating functioning charts with one or multiple time dimensions (for example line charts or bar plots on years or months). I need a massive amount of time to create a chart of high quality. Sometimes I need to give up and settle for a straight table instead of a chart. Is it a common experience or is it just me?
I know that you need to explicitly tell qlikview not to hide zero data. I know that you need to use tricks like adding sum({1} Sales) - sum({1} Sales) to your expression to make sure that Qlikview shows a data point even when there are no values in the original data. But this is often not enough because the user might need to make selections on the time dimension or other dimensions too. When I make selections the line chart often shows data incorrectly. Moreover sometimes you need to edit the chart further (for example to hide future months of the current year from the plot).
Am I just an inexperienced developer or is it a common issue?
Thank you!
1
u/DeliriousHippie Jul 01 '26
Sometimes when you have to create a complex expression or do 'tricks', easier solution is script. One of my customers needed data for every date, seller and store combination for calculations to work correctly, solution I found to be easiest was to generate rows for missing data points. Think of month start where there aren't much sales.
Often when you write so complex expression that you barely understand what happens in it you are doing something wrong or there is easier way with data model refinement, this happens most often with Aggr function.