Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi All,
How do I show the lines across the Y and the X axis for this Power BI line chart?
I am looking to create lines like the ones below:
Thank you,
Solved! Go to Solution.
Hi, @HamidBee
Unfortunately, this is by design. power BI is now unable to achieve what you need . You can submit an idea for it at https://ideas.powerbi.com/forums and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This should not be marked as solved as it is not solved. "PowerBI cannot do this" is not a solution. Please keep this unsolved until it's figured out.
I know this is a bit old now but I just came across the same problem and figured out a work around.
You can make use of the 'Plot area background' image property.
Use snipping tool to take a snip of you chart and paste it into PowerPoint, then add lines exactly where you want them using PowerPoints insert shape option.
Now select the lines you have added using ctrl+click and then right click, 'Save as Picture...'
Then go back into Power BI and add that image as your Plot area Background image and set 'Image fit' to 'Fit'.
Worked out pretty well for me.
This is definitely useful to know.
Thank you. To be honest, it is not a huge deal if I have the lines or not but I thought it would be nice to have them. I'm actually shocked that the Power BI team haven't included that as an option. You'd expect it to be there by default.
Hi, @HamidBee
Unfortunately, this is by design. power BI is now unable to achieve what you need . You can submit an idea for it at https://ideas.powerbi.com/forums and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @HamidBee
On the standard Line Chart, go to the format options, and on the Y-Axis you can edit the Gridlines (option right at the bottom) You can set the Color, Width and Style.
This sets the Y-Axis lines (horizontal), however there is no way to set X-Axis lines (vertical) with the standard line chart.
Hope this helps
Stuart
Hi, Thank you for your response. It's not the gridlines I'm looking for but the lines across the axis like the image below:
@HamidBee ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Appreciate your Kudos.
Hi, I was just wondering if the image I shared provided some clarity. Thank you
Hi, I'm referring to these black lines here.
anyone? pls share the above solution for all PBI standard chart
Hi,
I think you could re-consider what value these line add to your visual and if they are definitely needed. If business still requires them perhaps adding grindlines would be sufficient as suggested in earlier response.
Alternatively, you could look for a different visual altogether
e.g. this pulse visual provides something similar to what you're looking for
or Craydec Control Charts
Thank you. To be honest, it is not a huge deal if I have the lines or not but I thought it would be nice to have them. I'm actually shocked that the Power BI team haven't included that as an option. You'd expect it to be there by default.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
110 | |
102 | |
99 | |
38 | |
37 |
User | Count |
---|---|
158 | |
125 | |
76 | |
74 | |
63 |