Forum Discussion
How to add Dashed Line (Shape, NOT Chart) in Power BI?
- 6 years ago
Anonymous
Add the following measure and drop it on a card Visual then format as you need, you can adjust the height in the measure:Dash Line = REPT("|"&UNICHAR(10),20)________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon if you like this reply 🙂
Add a rectangle, turn off "Fill" and "Border", and type in "- - -" as text & make it bold
Super easy to adjust the length of the dotted line by just adding more dashes and spaces, and optionally rotate the shape by 90 degrees for a verticle line!
Brilliant! Thanks. If you don't need to rotate it, you can also use a text box. This should be marked as the solution. Adding unnecessary measures is never a good solution.
The fact that Power BI developers waste their time on that 'on-object interaction' craziness rather than getting some basic functionality right is mind-blowing (e.g. making a line shape dashed, being able to specify column widths numerically, being able to LOCK the position of individual visuals, rather than all visuals at once, which is useless, etc, etc).