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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 08.05.2014, 23:14   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
dynamicscpm: Choosing your calculation priority for totals and calculations
Источник: http://blogs.msdn.com/b/dynamics_fin...culations.aspx
==============

Report Definitions in Management Reporter have a setting for Calculation priority on the Settings tab. By default the setting has row calculations being performed first and then column calculations. Most people do not even know about this setting because 95% of the time you never need to change it. However, every now then you have a report with intersecting calculations and your totals or calculations are incorrect. When this happens you need to change the setting to calculate column calculations first and row calculations second. Let's look at a common example.

This report is a trended income statement that shows Gross Profit % and a Total column that adds together all the months. When you look at the Gross Profit % total line it is incorrect, showing a gross profit percentage of 1102%.



Figure 1: Trended Income Statement with incorrect Gross Profit % total

The row definition has a simple calculation for the Gross Profit % and the column definition has a calculated column for the total.



Figure 2: Row and column definition

To correct the Gross Profit % total, you need to change the Calculation priority setting in the Report Definition to Perform column calculation first and then row.



Figure 3: Report definition

Now the report will show you the correct total for the Gross Profit %.



Figure 4: Trended Income Statement with correct Gross Profit % total

Changing the calculation priority when there are intersecting calculated and total rows will save you time from creating complex calculations to get around the issue.






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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axmfg: Product configurator, new Calculations concept Blog bot DAX Blogs 0 17.07.2013 14:11
dynamicscpm: Using non-printing columns in column calculations Blog bot DAX Blogs 0 14.06.2013 21:11
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 03:52.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.