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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Actual vs. Target: line values fluctuating

Hello Power BI enthusiasts, 

Since I'm running ouf ideas, perhaps you may be able to help me. 

I've two following tabbles:  
Actual vs Target.png
I'm using the "Line and clustered column chart" to visualize Actual QTY vs Target QTY.  As you may have noticed targets are set for whole year and I think this is causing me a trouble.  

I've created the following meaasure to visualize the Monthly Target QTY:
Monthly target QTY= SUM (Targets[Target QTY]) /12 

I'm using Monthly target QTY as "Line value" which is should be constant number: 
2020:  980/12 =81,6
2021: 761/12 =63,4 

However my line value is fluctuating, while it should be constant. Does anyone has an idea how to fix it? 

krista_003_0-1612436549180.png

 

pbix. file: http://ge.tt/729TErA3 

6 REPLIES 6
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Can you try modifying your calculation as follows and see if this works:

Monthly target QTY= CALCULATE(SUM (Targets[Target QTY]) / 12, FILTER(ALL(Targets)) )

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hi @Pragati11 

The following error pops up: 

krista_003_0-1612439342920.png

 

Hi @Anonymous ,

 

Try removing FILTER expression and try following:

Monthly target QTY= CALCULATE(SUM(Targets[Target QTY]) / 12,  ALL(Targets))

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hej @Pragati11 ,

Unfortunately, the line is still fluctuating...Monthly target.png

As well as, the monthly target is incorrect..it should be 81,6...

Hi @Anonymous ,

 

On what column are these 2 tables related?

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hej @Pragati11 , 

I've releated those two columns on "contact"
contact.png

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric 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.

Users online (25)