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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
SilviuIL
New Member

Compare Actual Result with Target and Last Year result in a visual

Hi guys,

 

I am having difficulties in creating a visual that compares Actual Result with Last Year result and Target.

In the visual below i want to add a 3rd line that will show the target value:

SilviuIL_0-1602759693361.png

 

Actual Result is calculated measure from a table with data at Day Level, that looks like this

SilviuIL_1-1602760820269.png

 

 

and I have a separate table for Targets at Month Level with no relation between them:

 

SilviuIL_0-1602761373233.png

 

 

Can you please help with a solution?

 

Thanks

 

 

1 REPLY 1
amitchandak
Super User
Super User

@SilviuIL , Create a date in the target table

 

Date = date([year], [month],1)

or

Date = eomonth(date([year], [month],1),-1)

 

Join your actual and target with a date table and use that to plot time/date

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

 

 

Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.

 

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.