Forum Discussion
vertical line in Line Chart
- Anonymous1 year ago
You can add multiple constant lines referencing the dates that you want.
But you are not able to view the X axis constant line because your data type may be in string format please transform the data into date format or numeric format, then you will be able to view the x axis constant line. This will resolve your issue and you will be able to constant lines as required.
Thanks and regards.
That's probably what OP is looking for unless he wants the line to be somewhere specific.
Wondering if you can help me to achieve the green lines.
Providing a sample file.
https://github.com/suvechha/samplepbi/blob/main/sample_b.pbix
Currently it looks like
- danextian1 year ago
Super User
If you want the lines to be somewhere specific then you'll need to add several Y-Axis constant lines
Otherwise, you can enable the vertical gridlines.
- Anonymous1 year agoNot applicable
You can add multiple constant lines referencing the dates that you want.
But you are not able to view the X axis constant line because your data type may be in string format please transform the data into date format or numeric format, then you will be able to view the x axis constant line. This will resolve your issue and you will be able to constant lines as required.
Thanks and regards.