Focal Point
[CLOSED]Mulitple Hierarchy error on SSAS cube data

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1067048426

October 05, 2012, 09:58 AM
MonkeyP
[CLOSED]Mulitple Hierarchy error on SSAS cube data
The is actually the first cube I have worked with and I am getting a Multiple Hierarchy error on a defined field that is pulling in a date from a date hierarchy in the cube. I found another item on Focal Point from 2005 that suggests pulling from both places (the transactions information and the date hierarchy) seperately as hold files then joining the holds. Does this still hold true today or is the another way? Can this issue be circumvented in the creation of the synonym?

Here is the information on the server and cube
• UAT-DSSSAS01\DS (Analysis Services for cube)
o OS Version: Windows Server 2008 R2 SP1 6.1.7601
o SQL Server Version: SQL Server 2008 R2 SP1 10.50.2500.0

And I am running WF 7.7.03M

Thanks!

Wendy

This message has been edited. Last edited by: MonkeyP,


release 7.7.03M
OS - Linux
HTML, PDF, Excel, Delimited files, Graphs, Dashboards, MRE, Report Caster
October 05, 2012, 10:58 AM
Alan B
Wendy

Without knowing a lot more about the Cube structure, it is difficult to evaluate the problem.

The starting point is to try and get the data from the Cube without the DEFINE. Also, what are you trying to achieve with the DEFINE.


Alan.
WF 7.705/8.007
October 05, 2012, 12:56 PM
MonkeyP
I am trying to get the sum of the gross transactions for &PRYR (Prior Year) and &CRYR (Current Year) to plot as two separate series on a line graph.

What do you need from me to clarify things a bit?

I could put the .mas text on here but it is pretty long..what do you suggest?

This message has been edited. Last edited by: MonkeyP,


release 7.7.03M
OS - Linux
HTML, PDF, Excel, Delimited files, Graphs, Dashboards, MRE, Report Caster
October 06, 2012, 05:08 AM
Alan B
Try moving the DEFINE into a COMPUTE. With the SSAS Cube there should be no difference as PRINT and SUM are treated the same. This will move the calculation post request and the error you receive should disappear.


Alan.
WF 7.705/8.007
October 06, 2012, 06:18 AM
FrankDutch
Post the master file description and the fex code you have created.

I suppose you are trying to get two series of data (year1 and year2) and a BY FIELD like STORE or PRODUCT.

In the DEFINE you can create the 2 fields.

YEAR1/D15=IF YEAR EQ &PRYR THEN amount else 0;
etc




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7