Weekly Progress
Rounded <rect> bars, a dashed <path> for guide lines, <circle> markers, <text> day labels and a highlighted value badge. Swap the sample numbers for Qlik measures.
Learn how Scalable Vector Graphics (SVG) work, then see how Qlik expressions can use them to create clear, responsive visuals.
An SVG is a short piece of text that describes a picture — so anything that produces text, like a Qlik expression, can create one.
Drawings are made of elements such as rectangles, circles, paths, lines and text.
Because shapes are vectors, not pixels, the picture stays crisp at any size.
Attributes set position, size, fill, stroke and typography — e.g. x, width, fill, stroke, font-size.
SVG can include animation, as long as the browser or app displaying it supports it.
A Qlik expression can assemble SVG markup into a data:image/svg+xml;utf8, data URI that an image-capable Qlik object can display. The expression can insert values from variables or measures, so the visual updates when its inputs change.
Create the SVG markup and its viewBox.
Add shapes, text and styling.
Use Qlik expression logic to insert values or choose visual states.
Return the completed SVG as a data URI for the Qlik object.
='data:image/svg+xml;utf8,' &
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 40">' &
'<rect x="0" y="0" width="200" height="40" rx="20" fill="%23DFDEE9"/>' &
'<rect x="0" y="0" width="' & Round(200 * Sum(Actual) / Sum(Target)) & '" height="40" rx="20" fill="' & If(Sum(Actual) >= Sum(Target), '%23705578', '%23EDBCB5') & '"/>' &
'</svg>'Illustrative only — replace Actual and Target with your own fields. SVG animation support depends on the Qlik rendering context.
Rounded <rect> bars, a dashed <path> for guide lines, <circle> markers, <text> day labels and a highlighted value badge. Swap the sample numbers for Qlik measures.
A progress ring made with stroke-dasharray and stroke-dashoffset, centred <text> for the time, and <path> play, pause and clock icons.
Meets goal · Goal < 5 days
Illustrative healthcare data · Apr–Sep 2026 · no patient data or live Qlik connection.
A latest-month healthcare KPI with a selected-data scale and goal-based teal or coral arc.
Qlik If() logic reads vSwitch to choose the track colour and knob position. Click the preview to toggle between 0 and 1.
Data URIs, viewBox, shapes and scaling inside Qlik objects.
Interactive ON/OFF controls driven by a Qlik variable.
Bar charts, progress rings and KPI cards drawn from measures.
Crisp icons, badges and button graphics for dashboards.
Small transitions with SVG <animate>.
Variables, button actions and image-capable objects.