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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Nihed
Helper III
Helper III

Help

Hello,

Someone can help me please, how I can add  number of the latest value at the end of the chart ?

as I showed in the picture:

Nihed_0-1647487120424.png

Thank you

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Nihed ,

 

From what I understand, you only want to show the data labels for the last month's value in the line chart, right?

Please create a measure:

Measure = 
var _maxMonth= MAXX(ALL('Table'),MONTH([Date]))
return CALCULATE(SUM('Table'[Value]),FILTER('Table',MONTH([Date])=_maxMonth))

And apply it to Values field as well, then enable the Customize series option as the blog provided by @amitchandak mentioned:

Eyelyn9_0-1647849690613.png

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.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Nihed ,

 

From what I understand, you only want to show the data labels for the last month's value in the line chart, right?

Please create a measure:

Measure = 
var _maxMonth= MAXX(ALL('Table'),MONTH([Date]))
return CALCULATE(SUM('Table'[Value]),FILTER('Table',MONTH([Date])=_maxMonth))

And apply it to Values field as well, then enable the Customize series option as the blog provided by @amitchandak mentioned:

Eyelyn9_0-1647849690613.png

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.

amitchandak
Super User
Super User

@Nihed , refer if this can help

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.