- Daily Success Snacks
- Posts
- Why “It Works in the Chart” Is the Most Dangerous Sentence in Qlik Sense?
Why “It Works in the Chart” Is the Most Dangerous Sentence in Qlik Sense?
If your Qlik Sense app keeps needing “quick fixes,” the problem might not be the chart — it’s where the logic lives.

Read time: 2.5 minutes
After discovering a calculation issue in a chart using a specific calculation, the fix was to modify the chart's expression, update the number, and the dashboard displayed accurately.
The same logic was used in a different chart, but the resulting number was incorrect. The developer sighed.
The logic for the first chart was corrected in the visualization layer, but the logic for the second chart was never corrected in the data model.
It was also a classic realization that the logic belonged in the load script.
5 Painful Realities About Chart Expressions Compared to Load Scripts
1️⃣ Chart Errors do Not Scale
Each new chart introduces the possibility of inconsistency if its logic is embedded.
To fix this, move reusable logic into the load script or master measure.
2️⃣ Recurring Expressions will create Issues
When you copy and paste expressions, they will gradually become inconsistent over time.
To fix this, standardize your Metrics with Master Measures.
3️⃣ Data Modelling is better than Visual Tricks
The purpose of an expression in a chart is to provide insights about the data and not to manipulate the way that data is presented in the charts.
To fix this, transform the data correctly when loading it into the model.
4️⃣ When Logic is in the Chart, Performance is Reduced
The performance of a dashboard will be reduced by having multiple heavy calculations in each visual.
To fix this, pre-calculate the fields whenever possible in the data model.
5️⃣ Governance Starts with Your Data Model
Trust can be lost without a central logic.
To fix this, create a good semantic layer in your data model before designing any visuals.
💡Key Takeaway:
Quick fixes may provide a sense of accomplishment, but they do not lead to productive Qlik applications.
Instead of being based on the appearance of a diagram, as before, strong Qlik applications are developed from a clean model and a disciplined loading structure.
👉 LIKE this if you have developed a quick fix just because it looks good in a chart.
👉 SUBSCRIBE now to receive more helpful Qlik Sense BI model analytics-type stuff.
👉 Follow Glenda Carnate for new data structures each week to help produce quicker, smarter dashboards.
Instagram: @glendacarnate
LinkedIn: Glenda Carnate on LinkedIn
X (Twitter): @glendacarnate
👉 COMMENT with the hardest expression you've needed to fix from a chart in this discussion.
👉 SHARE this with a Qlik developer who can tell you if you have a quick fix or if it is a true solution.
Reply