Forum Discussion
Get a single value into an SVG Measure
- 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
Hi, Anonymous ;
From what I understand, you want the output to have a corresponding pie chart for each row, right? I might think this is impossible, dax can only output numbers and text. may be could use if().
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.
Yes, I want each line to ouput its score into a pice chart which represents the score on a maximum of 10.
I'll still look a bit around to figure out wether there's a way, and I'll post the solution there If i get one.