Forum Discussion

stefaniaastros's avatar
stefaniaastros
Frequent Visitor
5 years ago
Solved

How to add two data points to a line chart

Hello,

 

I have a line chart in Power Bi made out of series that spans from 2020 to 2021:

 

 

I want to add two single dots that are not in this time series; one that is in January and one that is in May to this chart. 

 

 

 

The data of the two dots is where the arrow is pointed at; calculation date (a date that is not in the original graph) and NAV (number)

 

The data being used already in the line chart can be seen below: Dagsetning (the date, which does not include the point that needs to be added) and NAV

 

 

Does anyone know if this is possible? Adding two "random" points to a line chart?

 

  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi stefaniaastros ,

     

    Normally you can't add "points" to a line chart. You could try to create a measure to get value in January and May and blank for other months. Then put this measure to the secondary value field. There will still be a line between two points. You will need to go to format pane and turn on the "show marker" button, change the marker color to not white color and change line color to white.

     

    Best Regards,

    Jay

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi stefaniaastros ,

     

    Normally you can't add "points" to a line chart. You could try to create a measure to get value in January and May and blank for other months. Then put this measure to the secondary value field. There will still be a line between two points. You will need to go to format pane and turn on the "show marker" button, change the marker color to not white color and change line color to white.

     

    Best Regards,

    Jay