Power BI 5 SVG Stars
HTML-код
- Опубликовано: 28 июн 2024
- In the Feb 2023 Power BI Update they introduced image width in a table formatting. This means SVG images now don't have to be square, so we can now do rectangle images. So I ported SVG code I had in my Power Apps series.
All the code in this video can be found on a post here
hatfullofdata.blog/power-bi-5...
And the pbix for this video can be found on my GitHub here
github.com/Laura-GB/DemoData/
Table of Contents
00:00 Introduction
00:12 Draw one star
02:22 Resize One Star
02:59 Draw 5 stars
03:37 Resize Again change the Width
04:05 Back to 5 stars
07:26 Draw 5 Grey Star outlines
09:47 Define Clip Path for Gold Stars
10:44 Add Gold Stars Наука
This is brilliant! 🙂
Amazing Laura_GB! And very useful. Thanks for sharing!
I'm tyring to add space between stars, how can I do that
A few changes but really minor.
Tweak svg_start to make the viewbox bigger e.g. viewBox='0 0 600 100'
AND
change Stars5 generate series to be a bigger gap than 100 e.g. GENERATESERIES(0,480,120)