Forum Discussion

pingster's avatar
pingster
Frequent Visitor
7 years ago
Solved

Draw lines in scatter chart

Hi fellow Power users,

 

I need to recreate this chart in PowerBI to monitor exceedances of 2 parameters. Ideally there is an viz for combined scatter and line chart. The closest I got to was drawing constant lines on both axes in the scatter chart but it looks too messy (see below). Is there a way to achieve this ideal look in PowerBI?

  • pingster's avatar
    pingster
    2 years ago

    I had to use a custom python plot, specifically the axs.add_patch(Rectangle()) method in matplotlib.

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi use analytics feature to achieve your goal. (just next to you format section)

     

     

    • pingster's avatar
      pingster
      Frequent Visitor

      Thanks Anonymous  for your response.

       

      Yes I have gone to Analytics. That was how I generated the second screenshot in my initial post, which is too messy to read. I need the lines to NOT span from min to max, so that I can draw a 'box' instead like the ideal look that I generated in Excel as per the first screenshot.

    • sshehzadi's avatar
      sshehzadi
      Frequent Visitor

      i was actually looking how to draw line in scatter chart. thanks

  • Did you get a resolution to this?  I would like to get the same effect.

    • pingster's avatar
      pingster
      Frequent Visitor

      I had to use a custom python plot, specifically the axs.add_patch(Rectangle()) method in matplotlib.