Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Simply speaking I do have a line chart for 28 days, the X-axis is the date. I want the srtoke width to change after certain date, for example after day 14 I want the stroke width to be 2 instead of 5 for the previous dates.
How can I do this ?
HI @saadmarwan,
Current power bi only support modify whole layout of chart, it not support the feature which you mention.
I 'd like to suggest you submit this requirement to ideas.
Regards,
Xiaoxin Shneg
Simply speaking I do have a line chart for 28 days, the X-axis is the date. I want the srtoke width to change after certain date, for example after day 14 I want the stroke width to be 2 instead of 5 for the previous dates.
How can I do this ?
I don't think you can do it with 1 line.
Top of mind solution would be splitting the data into (1) the data series with a thinner stroke and (2) the data series with a thicker stroke. Having the 2 line series enables you to customize one from the other.
To do this, you need a validator(measure) that tells the data to be included in either data series.
Sorry I am new to power bi, can you elaborate more on how to create two data series ?
Hi @saadmarwan,
Perhaps you can take a look at below tutorial :
Customize X-axis and Y-axis properties (Tutorial)
Regards,
Xiaoxin Sheng