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
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

Share with Power BI Enthusiasts: 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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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