Forum Discussion
Anonymous
4 years agoNot applicable
Get a single value into an SVG Measure
Hello, I have created a Pie Chart SVG Measure for which I have to procure an integer that represents the score. The SVG then produces a pie chart with the score. Here is SVGpourcentage : SV...
- Anonymous4 years ago
I finaly got it to work.
The problem was in the SVG code, specificcaly the line
stroke-dasharray='calc("&__pourcent&" * 458.67 / 100) 468.57'The numbers 458.67 and 468.57 should be the same, and depend on the circonference of the circle, here 229.33 because radius = 36,5.
So the correct line is
stroke-dasharray='calc("&__pourcent&" * 229.3363 / 100 ) 229.3363'and Power Query/BI returns the correct value by any mean.
Problem solved
v-yalanwu-msft
Community Support
4 years agoHi, Anonymous ;
Or can you share a simple example of no sensitive information, and desired output results? I'll see if I can do it again
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.