Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
santhosh_k_n
Creator II
Creator II

Chart failed to load

Hi All,

I facing an issue while displaying data in a chart. Am using aroung 8 straight table sharts in my dashboard and 2 chart are taking long time to load which in the end making the dashboard hang.

The calculated time and the memory of the respective chart is aroung 5000 and 6mb(2lakh+ records)

Can any one suggest how to handle.

Regards,

SK

11 Replies
santhosh_k_n
Creator II
Creator II
Author

Thanks MB.

But this doesnt provide solution. Am using sum() function in my expressions and the memory and cal time are considerd from the document properties.

Regards,

SK

miguelbraga
Partner - Specialist III
Partner - Specialist III

Can you provide us a screenshot and/or sample(dummy) qvw of your problem?

Thanks,

MB

miguelbraga
Partner - Specialist III
Partner - Specialist III

See these posts:

https://community.qlik.com/thread/192984

https://community.qlik.com/thread/190877

https://community.qlik.com/thread/92504

Try organize better your data model. A star-schema model is typically faster than a snowflake or a single table. Try reducing the amount of expressions in each straight table using buttons where the user can see only the expression that they want.

Hope it helps...

jonathandienst
Partner - Champion III
Partner - Champion III

Do the charts that are slow-loading contain expressions and dimensions that span multiple tables in your data model? This causes QV to perform an in memory join of the tables. If the association is poor, the in-memory requirements could be huge and the chart becomes very expensive to build.

Also Aggr() functions, calculated dimensions and sum(if()) type structures are slow and expensive to calculate.

If you need specific help on optimising the data model, you will need to provide a lot more information.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
santhosh_k_n
Creator II
Creator II
Author

Hi Jonathan,

Yes the chart contains 4 dimensions and 9 expressions, and couple of expressions are of sum(if()) type.

I tried to replace the sum(if()) with section access conditions but the calculated time and the memory occupied remain same.

The datamodel is optimizes and the issue is only in 2 out of 9 charts am presenting.

Regards,

SK

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Section Access? You mean Set Analysis?

That doesn't sound logical. Your performance problems point to charts being filled with a large number of data rows. In that case, the performance improvement that set analysis brings would be considerable. If no improvement can be measured, there is either something wrong with the other expressions (replace all IFs with set analysis) or there aren't that many rows to process. In which case there wouldn't be a performance problem in the first place.

Jonathan pointed out that a poor association could be the cause. A specific case of poor association is a butterfly connection where two tables connect large numbers of rows in each using few distinct values. Causes something that looks almost like a cartesian product (Gysbert used to manage those). Both calculation time and memory requirements may hit the ceiling.

Peter

Not applicable

Try to avoid complex calculation if you are using any, you can minimize the chart because minimized chart will take less memory.

If you can upload your app or any sample app replicating your scenario then we would be able to give you more ideas.

santhosh_k_n
Creator II
Creator II
Author

Sorry peter.

ITs set analysis and i had typed incorrect.

I had replaced all the sum(if()) with set analysis but the issue is still open

Regards,

SK