Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Scatter plot with customized boundary lines impossible?

Dear community, 

 

I have created a customer-specific visual in Excel and would like to display it in Power BI. Using a slicer, I can select the customer and display the chart with all 35,000 time steps. Everything works great, I'm just having trouble adding a boundary line. Below is the data shown. I look forward to your suggestions!

Data set:

date  x value  y value  
01.01.2024 00:00:0084-91
01.01.2024 00:15:00-4234
......

Boundaries for the line chart:

x threshold  y threshold  
-6060
-3020
3020
9090

Soultion with Excel:

Solution in Excel

  • Anonymous's avatar
    Anonymous
    2 years ago

    I have solved the problem with three diagrams. Two line plots showing the boundary values and a scatter plot with the values. I overlapped all the plots and stored the same functions in the axis settings.

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous 

     

    The concept of adding boundary lines is different in power bi compared to excel.

     

    Boundary lines seen in Excel are not presented in the same way in Power BI visual objects.

     

    This appears to be a range that can be defined based on the maximum and minimum values of the x-threshold and y-threshold.

     

    You can add in "Analytics".

     

     

     

     

    Here is the result.

     

     

    Regards,

    Nono Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

     

     

     

     

     

     

    test.pbix41 KB
    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Anonymous ,

      Thank you very much for your answer. I have the problem that I only need the constant lines between two specific data points (x1/y1) and (x2/y2). Between two other data points I need a line with gradient (see Excel solution above). I don't think you can set such limits with Power BI.

       

      Regards,

      JB

  • Anonymous's avatar
    Anonymous
    Not applicable

    I have solved the problem with three diagrams. Two line plots showing the boundary values and a scatter plot with the values. I overlapped all the plots and stored the same functions in the axis settings.