Mine currently doesn't work and I haven't even bothered to investigate it because it's so poor when it does work.
But this week I taught myself how to create SVG images using SAX and the HTML Content lite custom visual – which is really straightforward. I'm not sure why I put it off for so long – and it occurred to me that one useful thing to build was a grid which I could easily set up anytime I needed that extra bit of precision.
This one uses DAX so you're already familiar with a lot of it. The variables at the top are the gap between lines the height and width of your desire screen (the latter two are defaulted to the standard screen dimensions in PowerBI) and you can easily adjust the gap width. I'll give the code first and then explain it
You use this to create a measure and then get the HTML Content Lite app from the custom visual store and ad the measure into the Values well. You'll need to extend the box to the full extent, remove padding in the Format pane but you should be good to go.
Essentially what this does is
Use GENERATESERIES() to create values from ) to the width of your screen and then...
Use ADDCOLUMNS() to convert that into a table where each line has increased the value by your chosen gap then...
Use UNION to join the values of the y lines to the value of the x lines then...
Use CONCATENATE() to turn that into a lump of text
Finally you add the required code to the start and end.
If you're unsure how it works, you can progress it through DAX viewer or by viewing the measure itself.
To make it super easy to recall this, I also saved it as a text file and added a hotstring in AutoHotKey so now I simply got to PowerBI, create a measure, type "gridx" and then add that to the visual.