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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
obriaincian
Resolver I
Resolver I

Power BI - Line and clustered column chart , insert Target Line 0-128

Hi All,

 

I have a Line and clustered column chart in which I'd like to add a line too (I want to add the line in black below).

 

 

obriaincian_0-1677245485643.png

 

I tried to create a measure to do this but I had no luck 

Target Line = GENERATESERIES(0, 128, 1)
2 REPLIES 2
Gowtham_Selvam
Resolver I
Resolver I

Hi,

Create a measure by using generateseries  function for  the line y axis.Then enable the secondary y axis 

and disable the default y axis in format visual.

generateseries.png If I answered your question, kindly mark it as solution.

Hi @Gowtham_Selvam , Thank you for the solution however this doesn't solve my problem. I shuld have worded my question better. The Target line cannot be dirived from the data I have, it is defined manually so The line needs to be created independant of the data.

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors