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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Ajeck
Helper II
Helper II

actual vs plan

Hello , could anyone help me please, I'm new in this power BI

 

I want to compare between Actul with plan so  like this :

 

 January  February  March  
Sales CodePlanActualAchPlanActualAchPlanActualAch
A557500600080%10000600060%30006000200%
C4DL15002000133%5000200040%2300200087%
T4F7900500063%9500500053%23005000217%
Grand Total169001300076.9%245001300053.1%760013000171.1%

 

i'm attaching pbix file 

 

https://ptaab-my.sharepoint.com/:u:/g/personal/akristyonoputro_asuransiastra_com/EXmrW0xPXclNhMvVfjX...

 

Thank you 

Rgds, Aji

5 REPLIES 5
amitchandak
Super User
Super User

@Ajeck , I have done some changes. The problem is that the Month is plans do not have a year. Prefer to convert into a month start date to make it work

@amitchandak , I can't download your file , 

could you upload it or sent by email please, otherwise i'll try for your suggestion

 

 

@amitchandak , sorry i mean i can't open your file ,

It said : "Object reference not set to an instance of an object.

 

Thank you

@amitchandak , Thank you, it works

 

 

@Ajeck , I created a common table

Sales Code = DISTINCT(UNION(ALL(Plan[Salesman code]),ALL(Sales[Salesman code])))

 

and joined with both tables

And a measure

Ach = DIVIDE(Sum(Sales[AMOUNT]),sum(Plan[Plan]))

 

But the problem is plantable have month name, not a date

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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