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! Learn more

Reply
Turf03
Helper II
Helper II

Identify significant dates on a line chart

Is there a way to insert a line or a call out on specific dates on a line chart. I'd like to point out significant dates.

 

 

1 ACCEPTED SOLUTION
P_D_G
Resolver III
Resolver III

Hi @Turf03 ,

 

you might wanna try pulse chart which has a similar funcitonality.

Best,

View solution in original post

5 REPLIES 5
P_D_G
Resolver III
Resolver III

Hi @Turf03 ,

 

you might wanna try pulse chart which has a similar funcitonality.

Best,

v-xicai
Community Support
Community Support

Hi @Turf03 ,

 

You may insert Shapes (such as line or Triangle) into the specific location which you want on Axis of chart,  and it is not dynamic as explained. See the attached screenshot.

179.png

In addition, you may try to use a combination chart.

  1. Create a "line and stacked column chart"
  2. Put column [Date] into shared axis , and put [values] into line values.
  3. Create a measure that evaluates to the maximum value when Date=specific date(otherwise blank), put this measure into column values.

You may create measure like DAX below:

 

 

Specific Date line =  IF ( VALUES ( Table1[Date] ) = DATE ( 2020, 9, 1 ), MAXX ( ALL ( Table1[Date] ), MAX ( Table1[Sales] ) ))

 

180.png

Best Regards,

Amy 

 

Community Support Team _ Amy

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

amitchandak
Super User
Super User

@Turf03 , The information you have provided is not making the problem clear to me. Can you please explain with an example.

ideally, Insert should have value and removal means blank value
Appreciate your Kudos.

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

@amitchandak for example, I would like to identify a holiday on the line graph

@Turf03 , For that One way is to have conditional formatting, which only possible when you have one measure and no legend .

So create a measure like example

 


Color Date =
var _min =minx(allselected(Date,Date[Year])
return
Switch( true(),
FIRSTNONBLANK('Date'[Year],year(TODAY()))-_min =0 ,"lightgreen",
FIRSTNONBLANK('Date'[Year],year(TODAY()))-_min =0 ,"blue",
"red")

 

Now first create BAR visual and do conditional formatting and in that use "Field Value" Option

refer

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values

 

Other is have a line with blank and nonblank values based on condition. Refer I use that in this blog

https://community.powerbi.com/t5/Community-Blog/Display-Label-Only-on-the-Last-Data-Point-of-the-Lin...

 

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