AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 05.04.2012, 14:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,626 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AX 2009: The “Goal” value in the Profitability Analysis report on RoleCenter page pages does not show the budgeted values
Источник: http://blogs.msdn.com/b/axsupport/ar...ed-values.aspx
==============

I came across this sometime back now. The “Goal” value in the Profitability Analysis report on RoleCenterpage pages does not show the budgeted values.

Going through the KPI underneath the Report I found:

-The general ledger KPIs in the analysis database does not take into account any budget defined in AX Client as the goal of the KPIs. Instead however they shows the goal as being a fixed percentage (99% for COGS) of the last period (or 0 when the last period is empty) (You can open the general Ledger cube in BIDS/VS and on the KPI tab verify the Goal expressions for each KPI defined in the General Ledger cube)

- Discussing these findings with my Financial Escalation Engineer we concluded the reason for using these fixed values is because Budgeting is not required for accounts and without, these KPIs would always show a 0 goal value.

Having a fixed value based on the previous period appears we could apply a simple workaround to this to show budgeted values:

Reverse engineering the Profitability report for the COGS KPI we submit the following MDX query (Demo data with Fiscal Year 2006-07-1 period 2006-08-01 (Currency USD))

SELECT {KPIValue("Cost of Goods Sold"),KPIGoal("Cost of Goods Sold"), KPIStatus("Cost of Goods Sold"), KPITrend("Cost of Goods Sold")}ON COLUMNS,
STRTOSET('[Ledger period time dimension].[Ledger Period Hierarchy].[Year].&[CEU]&[2006-07-01T00:00:00].&[CEU]&[2006-08-01T00:00:00]') ON ROWS
FROM [General Ledger Cube]
WHERE STRTOMEMBER("[Master Company Reporting Currency].[Currency].&[" + 'USD' +"]")

The Value expression of this COGS KPI is defined as below where it can be found we’re getting the [Master Amount - Ledger] measure for Ledger account category “35” (COGS)

([Measures].[Master Amount - Ledger],[Ledger account descriptions].[Ledger account categories].&[35])
With this expression it’s easy to formulate the budgeted COGS the value Expression for this will be

([Measures].[Master Budget Amount - Ledger],[Ledger account descriptions].[Ledger account categories].&[35])
Through replacing current COGS KPI Goal expression with budgeted COGS value (from above) and saving the modified KPI, the KPI (and profitability analysis report) shows you the Budgeted COGS as the Goal value.



Repeating the similar steps for each KPI defined in the general Ledger account groups where you’re budgeting makes your budgets show up a the goals value in the KPI / Profitability report.



Further Information:
For testing the expression with the Contoso demo data I used the Query below

SELECT {
([Measures].[Master Amount - Ledger],[Ledger account descriptions].[Ledger account categories].&[35]) //Value
,
([Measures].[Master Budget Amount - Ledger],[Ledger account descriptions].[Ledger account categories].&[35]) //New Goal
} ON COLUMNS,
STRTOSET('[Ledger period time dimension].[Ledger Period Hierarchy].[Year].&[CEU]&[2006-07-01T00:00:00].&[CEU]&[2006-08-01T00:00:00]') //First date is Year, second is period
ON ROWS

FROM [General Ledger Cube]
WHERE STRTOMEMBER("[Master Company Reporting Currency].[Currency].&[" + 'USD' +"]")


Disclaimer:
This programming example is for illustration purposes only. Microsoft disclaims all warranties and conditions with regard to use of the programming example for other purposes. Microsoft shall not, at any time, be liable for any special, direct, indirect or consequential damages, whether in an action of contract, negligence or other action arising out of or in connection with the use or performance of the programming example. Nothing herein should be construed as constituting any kind of warranty.

--author:Jago van der Most





Источник: http://blogs.msdn.com/b/axsupport/ar...ed-values.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11
emeadaxsupport: List of fixes that improve performance of certain features in Dynamics AX 2009 Blog bot DAX Blogs 0 13.10.2009 19:06
gatesasbait: Dynamics AX 2009 SSRS and SSAS Integration Tips Blog bot DAX Blogs 3 09.07.2009 13:07
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 18:17.