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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jmartinnti
Regular Visitor

How to recreate this excel visual?

jmartinnti_0-1760204506538.png



Here is a pic. I can't figure out how to do the lines the same way? Any help is appreciated, thanks!!

1 ACCEPTED SOLUTION
Ilgar_Zarbali
Super User
Super User

You can build that in Power BI with a clustered column chart + error bars.
Those small yellow/green “ticks” are just the caps of error bars plotted for an
(invisible) series.

Steps

1. Measures

-- your two bars
[Actual A] := ...
[Actual B] := ...

-- target lines (the y-values where the short dashes must appear)
[Target Green] := ...
[Target Yellow] := ...

-- dummy measures to host the error bars
[Dummy Green] := 0
[Dummy Yellow] := 0

 

2. Visual

  • Add a Clustered column chart.
  • Axis → your category.
  • Values → [Actual A], [Actual B], [Dummy Green], [Dummy Yellow].
  • In Data colors, set the two Dummy series to 100% transparent (so their columns are invisible).

3. Error bars → for each Dummy series

 

  • Turn Error bars = On.
  • Type = By field.
  • Direction = Upper only.
  • Upper bound = [Target Green] (or [Target Yellow] for the other).
  • Lower bound = [Target Green] (same as upper, so length = 0).
  • End style = Cap; adjust Cap length to taste.
  • Choose the Line color (green/yellow).

Result: two short horizontal caps (ticks) at the specified y-values above each category, with your two columns below—visually matching the Excel chart.

 

I hope it helps.

 

 

View solution in original post

2 REPLIES 2
Ilgar_Zarbali
Super User
Super User

You can build that in Power BI with a clustered column chart + error bars.
Those small yellow/green “ticks” are just the caps of error bars plotted for an
(invisible) series.

Steps

1. Measures

-- your two bars
[Actual A] := ...
[Actual B] := ...

-- target lines (the y-values where the short dashes must appear)
[Target Green] := ...
[Target Yellow] := ...

-- dummy measures to host the error bars
[Dummy Green] := 0
[Dummy Yellow] := 0

 

2. Visual

  • Add a Clustered column chart.
  • Axis → your category.
  • Values → [Actual A], [Actual B], [Dummy Green], [Dummy Yellow].
  • In Data colors, set the two Dummy series to 100% transparent (so their columns are invisible).

3. Error bars → for each Dummy series

 

  • Turn Error bars = On.
  • Type = By field.
  • Direction = Upper only.
  • Upper bound = [Target Green] (or [Target Yellow] for the other).
  • Lower bound = [Target Green] (same as upper, so length = 0).
  • End style = Cap; adjust Cap length to taste.
  • Choose the Line color (green/yellow).

Result: two short horizontal caps (ticks) at the specified y-values above each category, with your two columns below—visually matching the Excel chart.

 

I hope it helps.

 

 

Thanks!!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.