Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone,
I would like to compare Actual vs Target.
I have a problem with my Data Model.
Actual table :
Target table (the target is fixed for the year) :
Data model :
It does not work :
Desired outpout :
Here the link of PBI file :
https://drive.google.com/file/d/1WLSOCFoAXzECpaJK7VSTCKw_WLvsy2_J/view?usp=sharing
Thank you for your help
Solved! Go to Solution.
Try this:
For Actual Value replace with this measure: ActValue = SUM(Actual[Actual Value])
For target, use this: Target = IF( [ActValue] = BLANK(), BLANK(), MAX(Target[Target Value]))
Variance : Variance = [ActValue] - [Target]
Hi @PBI_37 ,
I have made changes in your source file, please check the result below:
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Thank you v-tianyich-msft and Tutu_in_YYC
Hi @PBI_37 ,
I have made changes in your source file, please check the result below:
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Did you try to connect your calendar.year with your target.year? In your visual, you should then use calendar.date, too.
Regards,
Oktay
Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.
Try this:
For Actual Value replace with this measure: ActValue = SUM(Actual[Actual Value])
For target, use this: Target = IF( [ActValue] = BLANK(), BLANK(), MAX(Target[Target Value]))
Variance : Variance = [ActValue] - [Target]
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!