Forum Discussion
ashmitp869
1 year agoResponsive Resident
vertical line in Line Chart
Hi , How to add vertical line in Line Chart.
- 1 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.
ashmitp869
1 year agoResponsive Resident
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
danextian
1 year agoSuper 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.