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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Oscar1
New Member

Calculate % of complition sales vs plan

Hello,

 

I would need some help to create a table that calculates me the % of complition of the sales per month vs the plan (if possible also per year).

 

I  have 2 data sets. The first is the plan of each CFR that works in 1 of the 2 shops per month and year:

 

Month Year ShopCFRPlan
1           2.018  Shop1A1
1           2.018  Shop1B2
1           2.018  Shop1C3
1           2.018  Shop2D4
1           2.018  Shop2E5
1           2.018  Shop2F6
2           2.018  Shop1A2
2           2.018  Shop1B3
2           2.018  Shop1C4
2           2.018  Shop2D5
2           2.018  Shop2E6
2           2.018  Shop2F7

 

The second are the sales per month per CFR:

Month Year CFRSales
1     2.018  A1
1     2.018  B2
1     2.018  C3
1     2.018  D4
1     2.018  E5
1     2.018  F6
2     2.018  A2
2     2.018  B3
2     2.018  C4
2     2.018  D5
2     2.018  E6
2     2.018  F7

 

I connect both of them by a key of year&month&CFR.

 

I would be interested in calculating the % of accomplishment per month (sales/plan) for each of the CFRs, but also for each of the shops and for all the group (the 2 shops together).

In case of the shops and the total group, the plan is adding up all the plan from the CFRs.

 

Thank you!

1 ACCEPTED SOLUTION
Lind25
Resolver I
Resolver I

Hi Oscar

 

You need to create dimension tables for Month, Year, CFR (note: shop is not included).

These can then be related to your Plan and Sales tables.

Measures will then be simple to write and work automatically at any level of detail.

 

Sales plan:= sum(PlanTable[Plan])

Sales actual:= sum(SalesTable[Sales])

Actual / plan:= divide([Sales actual],[Sales plan])

 

Use your dimension tables on your tables / charts rather than the Month / Year / CFR stored in the data tables.

 

View solution in original post

1 REPLY 1
Lind25
Resolver I
Resolver I

Hi Oscar

 

You need to create dimension tables for Month, Year, CFR (note: shop is not included).

These can then be related to your Plan and Sales tables.

Measures will then be simple to write and work automatically at any level of detail.

 

Sales plan:= sum(PlanTable[Plan])

Sales actual:= sum(SalesTable[Sales])

Actual / plan:= divide([Sales actual],[Sales plan])

 

Use your dimension tables on your tables / charts rather than the Month / Year / CFR stored in the data tables.

 

Helpful resources

Announcements
Top Kudoed Authors