Hi Gurus,
I want to calculate average of percentage in order not to "include" the weight of my ratio/percentage.
For example:
I have a target (amount to reach) at 500.000$ for one country and a realized at 400.000$, so the achievement percentage is: 400.000/500.000 = 80%
And I have for another country a target at 10.000$ and a realized at 1.000$, so the achievement percentage is: 1.000/10.000 = 10%
So what I want to get the average of this indicator: (80%+10%)/2 = 45%
And what I don't want: (400.000+1.000)/(500.000+10.000) = 78.63%
Please find below the formulas I use in my account dimension:
PCT_ACHIEVMT: |
iif(([Init_Account].[H1].[GROSS_TO],[TARGET])>0,CoalesceEmpty(([Init_Account].[H1].[GROSS_TO])/([Init_Account].[H1].[GROSS_TO],[TARGET]),0),null) |
and:
AVG_ACHIEVMT: |
AVG([Init_Account].[H1].[PCT_ACHIEVMT],[Init_Entity].[H1].CurrentMember) |
My indicator PCT_ACHIEVMT works fine.
But the indicator AVG_ACHIEVMENT doesn't work, it is just equal to PCT_ACHIEVMENT Image may be NSFW.
Clik here to view.
In advance thank you for your help!
Regards,
Fabien.
Note: I use SAP BPC 7.5 SP 6 MS with SQL Server 2005.