BW:Read Master Data:如何规避Slowly Changing Dimension
来源:互联网 发布:网络摄像头用几根网线 编辑:程序博客网 时间:2024/05/18 09:15
正在装虚拟机,准备搞个Solution Manager给BW升升级,先尝试下。
凑这个功夫写点儿东西。
前段时间关注过TR(transfer rule)里面的read master data。
我们把一般的Rule Type 改成Read Master Data,会弹出个错误。
InfoObjects must be assigned to the DataSource fields
Message no. RSTRAN120
Diagnosis
Some source fields do not have an InfoObject assigned to them. However, you are using a rule type for which InfoObjects are mandatory sources, or you are using a unit conversion type or currency translation type.
Procedure
In the Source Fields area, fill the InfoObject Assignment field for each field that is being used as a source for this rule.
也就是说必须配合Data Source使用。
找一个带DataSource的,试试。
这是为啥呢,先说说这个Read Master Data啥意思吧
Read Master Data: The InfoObject is updated by reading a master data table of a characteristic, where the source contains a key and a value, and the corresponding InfoObject as an attribute.
来测试一下,先把0SOLD_TO的0INDUSTRY放进维度里。激活
这下清楚了,这个0INDUSTRY属性,可以走导航,在取数据的时候通过主数据的S表,读取P表中的数据。也可以在上载的时候,就去读P表,至于读谁的P表呢,就需要选一下了,我这里选0SOLD_TO,检查一下,SOLD_TO就被自动带过来,放在Field下面。之后呢,0INDUSTRY属性就被写死在这条数据里,即使以后发生变化,这里也不会随之变动了。
总结:
一般来说,我们如果把IO的属性放在维度里,就会变成Slowly Changing Dimension,就是说这个属性会随时变化,也就是今天是今天。
如果要存留今天是昨天的数据,就需要使用Read Master Data。不得不感慨,想得真周到啊…
之前我还以为这种情况要去增强呢~~~不过为啥不直接用导航呢,maybe..maybe...
- BW:Read Master Data:如何规避Slowly Changing Dimension
- BW:建模:Slowly Changing Dimension
- Slowly Changing Dimension
- CHECK DQ Issue in Slowly Changing Dimension
- 渐变维度(Slowly Changing Dimension)及其处理方法
- 缓慢变化维----slowly changing dimension 处理 办法
- 渐变维度(Slowly Changing Dimension)及其处理方法
- 理解缓慢变化维(Slowly Changing Dimension)
- BW: 在Infoset中使用Read Master Data
- [数据仓库--ETL]渐变维度(Slowly Changing Dimension)及其处理方法
- [数据仓库--ETL]渐变维度(Slowly Changing Dimension)及其处理方法
- 数据仓库系列 - 缓慢渐变维度 (Slowly Changing Dimension) 常见的三种类型及原型设计
- 缓慢渐变维度 (Slowly Changing Dimension) 常见的三种类型及原型设计
- 缓慢渐变维度 (Slowly Changing Dimension) 常见的三种类型及原型设计
- SSIS--- 数据仓库中实现 Slowly Changing Dimension 缓慢渐变维度的三种方式
- Slowly Changing Dimensions
- Implementing Slowly Changing Dimensions
- SSIS+数据仓库系列--- 缓慢渐变维度 (Slowly Changing Dimension) 常见的三种类型及原型设计
- 3G网卡使用心得
- 思考mysql内核之初级系列6---innodb文件管理(摘自老杨)
- 一个简单的彩票中奖程序
- 应用程序下显示控制台
- 思考mysql内核之初级系列7---innodb的hash表实现(摘自老杨)
- BW:Read Master Data:如何规避Slowly Changing Dimension
- HashMap遍历的两种方式
- php 读取excel2007内容 入库操作
- 我的博客开通啦
- 鸭梨笔记本上市!!!超越苹果和微软!!
- 思考mysql内核之初级系列8---innodb的list算法(摘自老杨)
- atheros_centos_wifi
- fat32 转 ntfs
- 思考mysql内核之初级系列9---innodb动态数组的实现(摘自老杨)