Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Line chart with multiples: show data label of the last date


I am not able to show data label of the last date. I face two problems:
1) the measure does not work as I expect. Both in a table and in a Line chart




Line chart with multiples (here it is supposed to show only markers and data labels of the last dates):



2) I am not able to add a measure to a "Sacondary values" field after I added values to a " Values" field.


Community Support
Community Support

Hi @OlegV ,


1. I tried the measure you used on my side, and it worked:

avg = AVERAGE('Table'[Value])
last day avg = 
var _max=MAXX(ALL('Table'),[Date])
return CALCULATE([avg],FILTER('Table',[Date]=_max))



 2. [Value] to Values field, [avg] measure to Secondary values:



Please provide me with more details about your table and your expect outputs or share me with your pbix file after removing sensitive data.


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

Hello, @Eyelyn9 
Thank you for a reply. Yes, I can see that in your example a maesure works.

Please find a link to download a .pbix file with the data and my charts.!AjD38l7_q5wZgasw9yQRp6Su73cdLQ?e=PhQh1d

or this link, if onedrive does not work

The result I would like to get is



Super User
Super User

@OlegV Read this post to get your answer quickly.

Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.