Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Gladiator909
Helper I
Helper I

Dotted Line/ Dashed Lines on a Bar Chart

Hi everyone,

 

I am trying to make something fairly simple but it does not look like its doable.

 

I have a bar chart along with a line, the client wants the line to be "dotted" instead of solid. Since the line is supposed to represent foreceast. There does not seem to be a way to do this!

 

Any ideas?

 

Here is the data along with the chart:

 

Column1Column2Column3

A530
B1025
C1520
D2010
E254

 

Gladiator909_0-1659554517333.png

 

1 ACCEPTED SOLUTION
Bubble4502
Resolver III
Resolver III

Hi @Gladiator909 ,

 

You can change the style of line to Dotted by using format visual:

Bubble4502_2-1660114086686.png

 

Output:

Bubble4502_1-1660114012065.png

 

Kind Regards,

Bubble

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

View solution in original post

6 REPLIES 6
Bubble4502
Resolver III
Resolver III

Hi @Gladiator909 ,

 

You can change the style of line to Dotted by using format visual:

Bubble4502_2-1660114086686.png

 

Output:

Bubble4502_1-1660114012065.png

 

Kind Regards,

Bubble

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

lbendlin
Super User
Super User

Do you mean a column chart?  I don't think there is any way to have lines on a standard bar chart.  Can you show the expected outcome?

Thank you very much for responding to my question. I basically want the line on the chart above to be dotted. This is what I was able to reproduce within Excel but not in PowerBI:

Gladiator909_0-1659707827196.png

Any ideas how this can be replicated on PowerBI?

That is a column chart.

 

The line makes no sense as there is no relation between the categories.  Line charts should only be used with temporal data, or correlated categories.  Looks like you want a Pareto instead?

 

This is where Tableau is better than Power BI - It wouldn't even allow you to attempt this.

The data that I showed is not the real dataset I am working with, just dummy data to convey what I am trying to do. Maybe something like this would make more sense:

Gladiator909_0-1659709388387.png

Just want the forecasted line to be dashed/dotted in PowerBI

Phew!  That makes so much more sense...  Please provide sanitized sample data that fully covers your issue.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.