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
gumis_rulez
Helper I
Helper I

Additional markers on continous ytd line

How to add additional markers which will reflect choosen date from a slicer?

 

Like on the below example; when I choose 2018-11-13, marker should appear on the level of continues ytd line, indicating sales for this month.

 

issue_A.JPG

 

dasd

 

Link to the file:

https://drive.google.com/file/d/1SF7lvSP9TuHM81JZZtjKXVzXudnRc-0D/view?usp=sharing 

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi @gumis_rulez 

Here's one suggestion (updated PBIX attached):

 

1. Enable interactions between the DateParameter slicer and the line chart.

2. Create this measure, which returns [Total Sales Continuous YTD] at Date From & Date To.

Total Sales Data Label Points = 
VAR LabelDates = { [Date From], [Date To] }
VAR CurrentDate =
    MAX ( dimCalendar[Date] ) -- assume dimCalendar[Date] on axis
VAR Result =
    IF (
        CurrentDate IN LabelDates,
        [Total Sales Continuous YTD]
    )
RETURN
    Result

3. Include [Total Sales Data Label Points] as an additional Y-axis field.

4. For series Total Sales Data Label Points,

 (a) Turn on Data Labels

 (b) Set Data Labels Value to Total Sales.

 (c) Turn off Lines

 (d) Turn on Markers

 

OwenAuger_0-1725450774318.png

 


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

1 REPLY 1
OwenAuger
Super User
Super User

Hi @gumis_rulez 

Here's one suggestion (updated PBIX attached):

 

1. Enable interactions between the DateParameter slicer and the line chart.

2. Create this measure, which returns [Total Sales Continuous YTD] at Date From & Date To.

Total Sales Data Label Points = 
VAR LabelDates = { [Date From], [Date To] }
VAR CurrentDate =
    MAX ( dimCalendar[Date] ) -- assume dimCalendar[Date] on axis
VAR Result =
    IF (
        CurrentDate IN LabelDates,
        [Total Sales Continuous YTD]
    )
RETURN
    Result

3. Include [Total Sales Data Label Points] as an additional Y-axis field.

4. For series Total Sales Data Label Points,

 (a) Turn on Data Labels

 (b) Set Data Labels Value to Total Sales.

 (c) Turn off Lines

 (d) Turn on Markers

 

OwenAuger_0-1725450774318.png

 


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

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!

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