Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Average based on Groups

Please help with the solution for below

I need to group the profit % for each and every country based on the respective regions.

Below are the example: 

 

Profit % is a measure calculated in report.

Inputs:

Table 1

Country% Profit
India20
China-15
Japan10
US20
Canada15
Russia-25
Congo-10
SouthAfrica25

 

Table2:

 

RegionCountry
ASIAIndia
ASIAChina
ASIAJapan
NACAUS
NACACanada
NACARussia
AfricaCongo
AfricaSouthAfrica

 

Output should be as below:

 

Region% Profit
ASIA5
     India20
     China-15
     Japan10
NACA3.333
     US20
     Canada15
     Russia-25
Africa7.5
     Congo-10
      SA25

2 Replies