Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using MDX in Crystal Reports 9

Status
Not open for further replies.

Flybridge

MIS
Jul 7, 2003
130
GB
I have a cube created in MS Analysis Services that has calculated members. When I use Crystal Reports to report over the cube I cannot see the calculated members, just the measures. I found out that you can use MDX in CR so tried to do that but I get an error message.

The formula for the calculated member has been edited to reflect the different structure of the cube to the data source. But it complains about the formula syntax. The formula is

Sum(PeriodsToDate([GLBalances].[Period].[(All)]), [GLBalances].[Period Amount])

[GLBalances] is the name of the cube, [Period] and [Period Amount] are the period and measure fields.

The message I get highlights the PeriodsToDate function and says the ')' is missing.

I can't see a missing ')' so wondered if this is an instance of an error message getting it wrong.

Can anyone see why CR doesn't like this formula?

Thanks,

Flybridge
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top