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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 22.05.2012, 02:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
dynamicsaxbi: IsNotApplicable (N/A) attribute and count measures in AX (2012) SSAS cubes
Источник: http://blogs.msdn.com/b/dynamicsaxbi...sas-cubes.aspx
==============

With Dynamics AX 2012, a new attribute shows in the AX SSAS cubes’ dimensions: IsNotApplicable (N/A). The attribute has been added as part of the solution to prevent errors during the cubes processing that were due to missing relationship-keys, e.g., attribute keys, between the fact and dimension tables. Such errors and their logging had a significant impact on the performance of the cube processing.



The solution consists of adding an additional N/A row to the dimension tables that can be used for those records in the fact table that otherwise would miss (or have null) values for the field used in the relationship between the fact and the dimension table. This solution, however, has a side-effect on the cube’s count measures if the fact table for the measure is also a dimension table: the additional row added to the table will be counted and, hence, the count value will be off by 1 unit (per company).



To get the count right for the measure, the values need to be filtered by the IsNotApplicable attribute for the dimension whose source table is also the fact table of the count (or aggregated) measure.



The next example shows the Invoice amount (Customer invoice line amount – accounting currency) measure sliced by the Product category (Row Labels) dimension. The invoice lines that do not have associated a product category show under the “N/A” label.





A similar example, but for a count measure with the N/A filter applied is shown below:








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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
sumitsaxfactor: Create Your First Custom Service [AX 2012] Blog bot DAX Blogs 0 19.05.2012 19:14
mscrm4ever: CRM 4.0 Using attribute mapping in code Blog bot Dynamics CRM: Blogs 0 03.05.2009 16:05

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

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

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