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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
insp77
Frequent Visitor

Display Data Label on the last date for multiple lines chart in power BI

Hi,

I have a data set where 3 or the 4 column varaibles are filtered  and plotted.  Current my chart shors Growth Since Feb-2020 for 3 selected categories and selected geography.  I generated a BI line charts, but I now want to display only the last data point for these 3 lines.  Is there an efficient way of doing so?  Please see my attached data set

 

DATEGEOClass Of WorkersCurrent MonthGrowth From Feb-2020
11/01/2021CanadaTotal employed, all classes of workers19297.60.008
11/01/2021CanadaEmployees16659.90.024
11/01/2021CanadaPublic sector employees4171.40.071
11/01/2021CanadaPrivate sector employees12488.50.01
11/01/2021CanadaSelf-employed2637.7-0.084
11/01/2021OntarioTotal employed, all classes of workers7586.70.012
11/01/2021OntarioEmployees6507.70.032
11/01/2021OntarioPublic sector employees1510.40.063
11/01/2021OntarioPrivate sector employees4997.40.023
11/01/2021OntarioSelf-employed1079-0.093
12/01/2021CanadaTotal employed, all classes of workers19376.20.012
12/01/2021CanadaEmployees16737.40.029
12/01/2021CanadaPublic sector employees4207.70.08
12/01/2021CanadaPrivate sector employees12529.70.013
12/01/2021CanadaSelf-employed2638.8-0.083
12/01/2021OntarioTotal employed, all classes of workers7639.20.019
12/01/2021OntarioEmployees65250.035
12/01/2021OntarioPublic sector employees1522.60.072
12/01/2021OntarioPrivate sector employees5002.50.024
12/01/2021OntarioSelf-employed1114.2-0.063
01/01/2022CanadaTotal employed, all classes of workers19176.10.002
01/01/2022CanadaEmployees165240.016
01/01/2022CanadaPublic sector employees4200.20.078
01/01/2022CanadaPrivate sector employees12323.8-0.004
01/01/2022CanadaSelf-employed2652-0.079
01/01/2022OntarioTotal employed, all classes of workers7493.50
01/01/2022OntarioEmployees6378.70.012
01/01/2022OntarioPublic sector employees1509.80.063
01/01/2022OntarioPrivate sector employees4868.9-0.003
01/01/2022OntarioSelf-employed1114.7-0.063
02/01/2022CanadaTotal employed, all classes of workers19512.70.019
02/01/2022CanadaEmployees16879.20.038
02/01/2022CanadaPublic sector employees4208.10.08
02/01/2022CanadaPrivate sector employees12671.20.024
02/01/2022CanadaSelf-employed2633.4-0.085
02/01/2022OntarioTotal employed, all classes of workers7687.80.026
02/01/2022OntarioEmployees6607.50.048
02/01/2022OntarioPublic sector employees1513.90.066
02/01/2022OntarioPrivate sector employees5093.60.043
02/01/2022OntarioSelf-employed1080.3-0.092
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @insp77 ,

Here are the steps you can follow:

1. Create table with Enter data.

vyangliumsft_0-1647498286122.png

2. Create measure.

Measure_Growth From Feb-2020 =
CALCULATE(SUM('Table'[Growth From Feb-2020]),FILTER(ALL('Table'),'Table'[DATE]=MAX('Table'[DATE])&&'Table'[Class Of Workers]=MAX('Table2'[Table2Class Of Workers])))

3. Result:

vyangliumsft_1-1647498286125.png

 

Best Regards,

Liu Yang

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  @insp77 ,

Here are the steps you can follow:

1. Create table with Enter data.

vyangliumsft_0-1647498286122.png

2. Create measure.

Measure_Growth From Feb-2020 =
CALCULATE(SUM('Table'[Growth From Feb-2020]),FILTER(ALL('Table'),'Table'[DATE]=MAX('Table'[DATE])&&'Table'[Class Of Workers]=MAX('Table2'[Table2Class Of Workers])))

3. Result:

vyangliumsft_1-1647498286125.png

 

Best Regards,

Liu Yang

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

@insp77 , Based on what I got, check if this blog 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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.