The Qlik Sense cash flow Forecasting isn't a cash flow luxury: it's the difference between a company that makes decisions in advance and one that reacts when it's already too late. Consider this uncomfortable fact: 82% of SMEs that go bankrupt do so not because of a lack of profits, but because of a lack of cash. They had sales, they had margins, they had customers. What they lacked was visibility into when money was coming in and when it was going out. Your income statement may be in the black while your checking account is burning a hole in your pocket.

That is why, while most managers look at the past in their BI, financial leaders use QlikSense to look ahead. In this article we will build, step by step, a 13-week cash projection model: the same horizon that funds like KKR or Blackstone demand as non-negotiable governance from their companies. The goal is simple and powerful: for you to see a liquidity crunch six weeks before it happens.

The real problem: making money and running out of cash
There is a silent trap in growing companies. You sell more, you bill more, and yet the bank squeezes. The reason is structural: profit is recognized when you issue the invoice, but cash arrives when the client pays. And between those two moments lies an abyss.
The numbers confirm it. In North America, 44% of B2B credit sales are paid late, and the write-off rate averages 6% of the portfolio. Furthermore, 56% of small businesses have unpaid invoices at any given time, with an average of USD 17,500 stuck in that limbo. Add to that the fact that the typical business operates with a cash cushion of just 27 days, and you’ll understand why a single delayed invoice can trigger late payments to suppliers or, worse, delays in payroll.
The traditional Excel forecast does not solve this. It is static, breaks with every change of assumption, and nobody trusts the version circulating by email. This is where the Qlik Sense cash flow Change the rules.
The solution: a 13-week cash flow QlikSense model
The 13-week horizon—one quarter—is the sweet spot. It is short enough to be accurate using the direct method (actual cash inflows and outflows), and long enough for you to take action: renegotiate a payment, accelerate a collection, or halt a purchase.
The model is built on three flows: accounts receivable (when your collections will come in), accounts payable (when your payments go out), and recurring flows (payroll, rent, taxes). Let's start with the heart of the model: a calendar of future weeks and the assignment of each invoice to its expected collection week.
Step 1: Generate the projection schedule
First, we need a 13-week future timeline, independent of transactional data. This calendar will be the backbone of the dashboard.
// Forecast calendar: 13 weeks from today
ForecastCalendar:
LOAD
RecNo() AS WeekNum,
WeekStart(Today(), RecNo()-1) AS WeekStart,
WeekEnd(Today(), RecNo()-1) AS WeekEnd,
'S' & Num(Week(WeekStart(Today(),RecNo()-1)),'00') AS WeekLabel
AUTOGENERATE 13; // 13 rows = 13 weeksThe function AUTOGENERATE 13 create 13 records without reading any source. WeekStart(Today(), RecNo()-1) Calculate the Monday of each future week, shifting from zero to twelve weeks. Thus, regardless of when the reload is executed, the model always projects the current quarter.
Step 2: assign each collection to its expected week
The underlying assumption of any cash flow projection is when the client will actually pay. Do not use the theoretical due date: use historical behavior. If a client pays on average in 52 days, their invoice should fall in the week corresponding to those 52 days, not the nominal 30.
// In the accounts receivable load script
Cobros:
LOAD
NumFactura,
Cliente,
Monto,
FechaEmision,
// Expected date = issue date + customer's actual payment behavior
Date(FechaEmision + ApplyMap('MapDiasPagoCliente', Cliente, 45)) AS FechaCobroEsperada,
Ceil((FechaEmision + ApplyMap('MapDiasPagoCliente', Cliente, 45) - Today())/7) AS SemanaCobro
RESIDENT FacturasVenta
WHERE Estado = 'Pendiente';Look ApplyMap('MapDiasPagoCliente', Cliente, 45). This function looks up the average payment days for each customer in a pre-loaded mapping table. If the customer does not exist in the map, it uses 45 days as a default value. It is the difference between a naive projection and one that learns from the past.

Step 3: The cumulative balance expression with Set Analysis
Now comes the piece that turns data into a decision: the projected cash balance, accumulated week by week. We need to add collections, subtract payments, and carry over the initial balance.
// Net cash flow for the selected week
Sum({} ProjectedAmount)
-
Sum({} ProjectedAmount)
// Cumulative cash balance (using RangeSum on AGGR)
RangeSum(
Above(
Sum({} ProjectedAmount)
- Sum({} ProjectedAmount)
, 0, RowNo())
) + Only({1} OpeningCashBalance)Let's break down the magic. The inner part calculates the net flow of each week: collections minus payments, separated with Set Analysis modifiers {}. Then, Above(..., 0, RowNo()) take all the rows from the first to the current one, and Range Sum Add them up. The result is the classic rolling balance. Finally, we add the initial cash balance with Only({1} OpeningCashBalance), where {1} Ignore any selection to always take the base value.
The visual effect is striking: a line that, week after week, shows whether your cash flow is rising or crossing zero. When that line pierces the axis, you have the most valuable piece of data in all of financial management: the exact date of the crash.
Step 4: The liquidity risk traffic light
A number does not mobilize; a color does. Let's add an expression that colors each week according to its risk level regarding the minimum cash cushion defined by the company.
// Background color for the weekly KPI
If(ProjectedBalance < 0, RGB(220,38,38), // Red: negative cash balance
If(ProjectedBalance < $(vMinimumBuffer), RGB(245,158,11), // Amber: below the minimum
RGB(34,197,94))) // Green: bufferThe variable $(vMinimumMattress) centralize the company's liquidity policy. Change it once and the entire dashboard recalibrates. That way, the board doesn't read spreadsheets: they read colors and take action.
Business impact: from reaction to anticipation
When a CFO sees the cash crunch six weeks in advance, their range of options multiplies. They can call the delinquent client, negotiate an extension with a supplier, halt an inventory purchase, or activate a credit line under calm conditions instead of doing so with water up to their neck. Anticipation is, literally, money.
The data underscores the urgency. Gartner projects that by 2026, 75% of organizations will use AI in at least one treasury function, with cash forecasting being the leading use case. Companies with mature BI report 2.5 times faster decision-making and a 40% higher return on their analytics investment. Anyone who continues to forecast cash flow in Excel isn’t saving on a license—they’re giving their competitors a head start in decision-making speed.
Common Mistakes and How to Avoid Them
The first mistake is projecting with nominal dates instead of actual behavior, as we already saw. The second is forgetting non-recurring cash flows: VAT payments, bonuses, dividends. A good practice is to load them into a manual «cash events» table that is joined to the projection calendar.
The third mistake is building the model and not updating the assumptions. A cash projection is alive: every week it must be recalibrated with the actual collections and payments of the past week. That is why it is best to schedule the QlikSense reload automatically, ideally every morning.
The fourth mistake, perhaps the most expensive one, is failing to differentiate scenarios. A robust model offers at least three lines: optimistic, expected, and conservative. With QlikSense variables, you can toggle the expected collection percentage and see, live, how the breaking point date shifts.
Best practices from experience
Keep the horizon at 13 weeks, but make it rolling: every Monday, the model drops the expired week and adds a new one at the end. Centralize assumptions—payment days, minimum buffer, bad debt percentage—into variables, never hardcoded into expressions. And above all, present the dashboard with a single question in mind: in which week am I at risk and what lever can I pull today?
If you want to dive deeper into how to connect this model with your overdue portfolio and your collection management, check out the rest of the strategic library at hectorpincheira.com, where you will find the complementary aging and profitability models.
Strategic conclusion
The Qlik Sense cash flow Projections turn treasury from a rear-view mirror exercise into an act of deliberate navigation. It is not about having more reports, but about having the report that matters: the one that shows you the iceberg before impact. The companies that survive are not the most profitable on paper, but the ones that never run out of cash by surprise.
The question for you, as a leader, is direct: do you know today in which week of next quarter your cash crosses zero? If the answer is no, you already know what your next BI project is. Build it, and stop managing your liquidity through the fog.




