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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Column visual w/ date axis, need an "event line" to indicate when change should be seen in the data

Screenshot 2021-02-11 115200.jpg

I would like to add a line at 2020Q3 to indicate when an event (work from home!) occurred.  Any ideas?

 

Thanks in advance

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , I doubt vertical line. you can add a line as a marker.

 

A bit of logic change in

https://community.powerbi.com/t5/Community-Blog/Display-Label-Only-on-the-Last-Data-Point-of-the-Line-Visual-for/ba-p/1253464

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

You can add a line as a constant value or max/min/average/median value of the column values in the Power BI column chart, just go to the “Analytics” panel of the chart, like this:

v-robertq-msft_0-1613636561211.png

v-robertq-msft_1-1613636561217.png

 

What’s more, you can also check if the Combo chart in Power BI can meet your requirement, please refer to this document:

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-combo-chart

 

Best Regards,

Community Support Team _Robert Qin

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

5 REPLIES 5
qrasooli
Frequent Visitor

Go to Analytics portion of Visualizations Pane. 

Add X-Axis Constant Line, Rename the line to event you want to represent, pick the colors and pick the date you want to show it on and Walla, you have a verticle line showing the event on your visual. Worked perfectly for me!

qrasooli_0-1718111931166.png

 

v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

You can add a line as a constant value or max/min/average/median value of the column values in the Power BI column chart, just go to the “Analytics” panel of the chart, like this:

v-robertq-msft_0-1613636561211.png

v-robertq-msft_1-1613636561217.png

 

What’s more, you can also check if the Combo chart in Power BI can meet your requirement, please refer to this document:

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-combo-chart

 

Best Regards,

Community Support Team _Robert Qin

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

Anonymous
Not applicable

I was looking for a vertical line or marker (date related) rather than horizontal (value related.)  But thank you; I did find a work-around 🙂

 

what was the work around?

amitchandak
Super User
Super User

@Anonymous , I doubt vertical line. you can add a line as a marker.

 

A bit of logic change in

https://community.powerbi.com/t5/Community-Blog/Display-Label-Only-on-the-Last-Data-Point-of-the-Line-Visual-for/ba-p/1253464

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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