Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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.
Please let me know if there is a way to implement it
Thanks in advance.
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])
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
108 | |
107 | |
93 | |
70 |
User | Count |
---|---|
173 | |
135 | |
131 | |
96 | |
94 |