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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
kompalli
Helper I
Helper I

Start and end labels of line chart

Hi Everyone

 

I am trying to give start and end labels of the line chart. I am able to show the end label but I am unable to show the starting data

label and my line chart represents last 12 months data. 

 

111.png

Please let me know if there is a way to implement it

 

Thanks in advance.

1 REPLY 1
halfglassdarkly
Responsive Resident
Responsive Resident

One way which I've used before is to create a seperate measure that returns only the data points you want to label, add that to your visual as a second series, then disable the line and marker visibility but show the data labels.

 

e.g

 

Label Measure =
var MaxD = calculate(max('date'[Date]),All('date'))

var MinD= calculate(min('date'[Date]),All('date'))

RETURN

if(max('date'[Date]) in{MaxD,MinD},[Existing Measure])

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.