企业绩效管理网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1149|回复: 7

TM1 cube > Cognos Report Studio > BI Report

[复制链接]

93

主题

423

帖子

630

积分

高级会员

Rank: 4

积分
630
QQ
发表于 2014-3-20 14:29:32 | 显示全部楼层 |阅读模式
Hi all,

Using 9.5.2.

Before you read I will apologise now, I do not have any prior experience with Cognos Report Studio so my definitions/terminology may be away off. We have an experienced BI developer here so don't worry - I'm not trying to do the BI side myself.

The scenario:

We have a system called Maximo that captures all of our committed costs. It does this task well, however trying to get a report out of this system is very painful. All of the data is currently saved to CSV files and loaded into SQL tables in our data-warehouse. We then have a TM1 model which has a much bigger scope, but a small part of it is bringing this commitment data in and holding it in a Commitment cube. This is a 12 dimension cube (1 time, 1 measures and 10 other) designed around the business requirements for how they wish to slice and dice all of their data. The cube size itself is not a problem for TM1. The data held in it is at a transactional level which again is a user requirement. Because this is essentially the only way to view the data in Maximo the requirement is to see transactional level data. A drill through to the SQL database was put forward and rejected.

We have an active form which is then published on TM1 Web which allows the users to view consolidated elements, drill down to leaf level elements etc. Apart from the Time dim being a page and the measures dim on the column, the otehr 10 dims were stacked up in the rows to give full visibility of the data. The response time is good.

However, we wanted to see if we could replicate this Commitment report in BI. As a business we already use BI on top of Cognos Analyst cubes and directly from SQL data-warehouse. This would be pretty much the first time that we were attempting to report directly from a TM1 cube.

The Problem:

In a nutshell the problem seems to be zero-suppression. The active form in TM1 handles this very well wish good response times. When trying to replicate the report in Report Studio we found the follwing:

1. If referencing a consolidated element in each of the 10 dimensions stacked up the report query ran within seconds and a report was ready.
2. If bringing "All" elements in on the same 10 dimensions the report query ran within seconds and a report was ready (although useless as the cube is so sparse - so is the report).
3. When attempting to suppress zero's the BI developer tried 2 different methods:
3a). Writing an MDX query for each cross point. This took about 15 mins to produce a report.
3b). Suppress zero's directly on the dimension (sorry I'm not sure what this is called). For one small dimensions (of the ten) this took a few seconds. For a big dimension it took a minute or so. For 3 dimensions together this took about 10 minutes to create a report.

Our conclusion:

Between the BI developer and I, the conclusion that we drew was that Report Studio does not handle querying transactional level data from a cube and zero suppressing it very efficiently. If the report was querying the SQL table directly it would be very quick. However to achieve this rolling up/drilling down the consolidated data would have to be stored in the SQL table too (which it currently isn't).

Any advice:

As always any advice would be greatly received. I appreciate that the first thought that might go through your mind is that transactional level data should not be held in a TM1 cube anyway or why are we trying to create a BI report from it!

Cheers
回复

使用道具 举报

86

主题

396

帖子

584

积分

高级会员

Rank: 4

积分
584
QQ
发表于 2014-3-20 15:58:03 | 显示全部楼层
Hi tosca1978,

I guess you're using Cognos BI 8.x to connect to TM1. You can forget about the zero-suppression on multiple stacked columns in this version - it will not perform. The best way to do this is to use the MDX filter on zeroes on the columns (or innermost column), but I think the performance is degrading exponentially with every column you stack (of course depending on size and sparsity of the regarding dimensions).
The best advice I can give is to upgrade Cognos BI to 10.1 and use this in combination with TM1 9.5.2 or newer. Then you can use Dynamic Query Mode in your framework package and this will improve performance considerably.

Michel
回复 支持 反对

使用道具 举报

77

主题

392

帖子

558

积分

高级会员

Rank: 4

积分
558
QQ
发表于 2014-3-20 16:26:00 | 显示全部楼层
Hi Michel,

Many thanks for your reply. I have passed on your tips to the BI developer who was away last week. Hopefully next week we will put our heads together and have another go.

I know that we have both version 8 and version 10. However I think part of the problem is that Report Studio is the only product that has been upgraded to 10, so the Framework Manager is still an old version.

If we have any success or new findings next week using 10 with Dynamic Query Mode as you suggested I will post an update.

Thanks again for your help.
回复 支持 反对

使用道具 举报

72

主题

394

帖子

558

积分

高级会员

Rank: 4

积分
558
QQ
发表于 2014-3-20 16:27:51 | 显示全部楼层
Hi there,
are you reporting in real time?
Is a copy cube with the zero supression already done an option?

P
回复 支持 反对

使用道具 举报

66

主题

394

帖子

543

积分

高级会员

Rank: 4

积分
543
QQ
发表于 2014-3-20 17:39:06 | 显示全部楼层
It shouldn't matter that you have FM as 8.xx although this seems dangerous and odd.  You would be better to install FM twice, one for each version.  However 8.xx FM packages should be upgraded when moved from 8.xx to 10.xx environments.

Also, I can confirm zero supression works in 9.5.2 FP1 and BI 10.1.1.  It should work on 10.1 BI as well.  DQ was the only solution that easily worked for analysis studio zero supression although can create a measure filter in Analysis Studio that will do this, its just annoying as it doesn't stay if you keep switching rows/columns.

Also, nested rows/columns can be tricky for zero suppression when passed to TM1 from BI.  Highly unlikely that with larger dimensions and nested rows/columns in a crosstab that you will be able to get the same performance as in TM1


Good luck
回复 支持 反对

使用道具 举报

66

主题

395

帖子

544

积分

高级会员

Rank: 4

积分
544
QQ
发表于 2014-3-20 17:40:07 | 显示全部楼层
Try this:

Change settings to two parameters below in <cognos_install>configurationqfs_config.xml file

<parameter name="UseProviderCrossJoinThreshold" value="1000"/>
UseProviderCrossJoinThreshold introduces crosstab row / column edge member retrieval optimisations where the nested edge member crossjoin results in a large member set. The optimisation attempts to eliminate members from the crossjoin which would not return data. The established value is the crossjoin threshold from which thes optimisations start to be invoked.

<parameter name="UseNonEmptyOnDataQueryThreshold" value="1"/>
UseNonEmptyOnDataQueryThreshold ensure the NON EMPTY clause is added to an MDX query.
回复 支持 反对

使用道具 举报

69

主题

365

帖子

518

积分

高级会员

Rank: 4

积分
518
QQ
发表于 2014-3-20 18:27:00 | 显示全部楼层
Hi All,

thanks for your responses.

AlexanderZ - we changed the qfs_config.xml file like you said. We didn't notice any change in performance.

Michel, we are bow using Cognos 10 (BI) and TM1 v10.1.0 and have re-published the package with Dynamic Query Mode turned on. However, we are getting the following error message:
SetCogMDXNestContextUsingSetAlias cannot be applied, the provider does not support MDX set aliases.

I think this is because we have MDX filters on the crossjoined levels.

Can you tell me - is it possible to use Dynamic Query Mode and MDX filters on the crossjoined levels?

Many thanks
回复 支持 反对

使用道具 举报

79

主题

383

帖子

562

积分

高级会员

Rank: 4

积分
562
QQ
发表于 2014-3-20 18:48:55 | 显示全部楼层
I dunno about crossjoined levels, but here is pretty good article on DQM:

Also Dqm can be enabled in Framework manager when publishing package:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|企业绩效管理网 ( 京ICP备14007298号   

GMT+8, 2018-11-14 19:02 , Processed in 0.184966 second(s), 16 queries , Memcache On.

Powered by Discuz! X3.1 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表