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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sparkline not displaying

I have a straight table chart with one dimension Account, and one expression Sum(sales).

I then want a sparkline mini chart to show the trend of sales over time. So I created a second expression of Sum(Sales) and set Display Options - Representation Format to Mini Chart. In the Mini Chart Settings I set Dimension = Sales Date.

I also have a Dimension Limit to Show Only First 20.

But some of the mini charts are blank.

Chart.png

Even stranger, if I click on one of the Accounts with the missing chart so the application is then filtered to just that account the mini chart then appears for that account. Account B in the screen shot, which previously had no mini chart displayed.

Chart 2.png

Whats going wrong with the mini charts?

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I should have read the release notes!!

Page 8 states:


"Dimension limits should not be used in tables that contain mini-charts"

So I'm trying to do something that is not advised (basically it's a bug but they won't admit it/spend time fixing it )

View solution in original post

13 Replies
juleshartley
Specialist
Specialist

Is the date dimension roughly the same period for the different Accounts?

juleshartley
Specialist
Specialist

ps. it might be helpful to have a sample app....

senarath
Creator III
Creator III

Hi,

You could trouble shoot by converting the same into a Bar/Line chart and see whether working with period wise (as a dim)

thanx

sujeetsingh
Master III
Master III

Cross check values and nulls

Anonymous
Not applicable
Author

I tried that, It's the same with all mini chart types. Some are just missing.

Anonymous
Not applicable
Author

I have heard of nulls causing problems before.

In the example above Account B. which was missing it's sparkline, has no nulls, it has sales for each day. And as we can see from the second screen shot, once Account B is filtered on, the sparkline magically appears.

juleshartley
Specialist
Specialist

...and it displays fine on a normal line chart when the other accounts are included?

kiranmanoharrode
Creator III
Creator III

Use AGGR in your Expression..

It will solve your issue

Anonymous
Not applicable
Author

My expression is =Sum(Sales) it is an aggregated expression rather than an atomic value like =Sales

How will using AGGR() change this? And what should I AGGR()?