r/datavisualization • u/Hshmab • 4h ago
I got tired of hand-writing SVG measures in DAX, so I built a free tool that generates them (30 designs, Deneb templates, business-day period measures)
Hi r/PowerBI,
Like a lot of you, I use SVG Image URL measures for KPI cards and small visuals in tables. Writing them by hand in DAX always took me way too long: building the SVG string, handling blanks and negatives, formatting numbers, then tweaking colors and sizes.
So I built NAJM Studio, a small free Windows app that does this part for you:
• 30 SVG designs: KPI cards, progress bars and rings, targets, comparisons, sparklines, status indicators
• Live preview with sample values, before you touch your model
• A "Copy the DAX" button: one readable measure bound to your own measures, like [Sales] and [Target]. Paste it, set the data category to Image URL, done
• Blank, zero and negative values handled in the generated DAX
• 10 Deneb templates (waterfall, YoY, dumbbell, ranking, scatter…) exported as JSON
• Period comparisons: first N business days of the month vs. the same N days of the previous month, public holidays excluded
Everything runs locally: no account, no telemetry. The only network call checks GitHub for a new version.
To be upfront about the limits:
• Windows only (10/11)
• The interface is in French for now. The generated DAX works in any model
• The installer isn't code-signed yet, so SmartScreen warns on first launch. The SHA-256 is on the release page
Free for personal use: https://github.com/7ehsaCodes/najm-studio
I'd love feedback from people who use SVG measures daily:
• Which visuals do you rebuild over and over?
• Would an English interface help you?
• Anything in the generated DAX you'd write differently?
Thanks for reading
