ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 MDX Creation in Report Portal
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

saurav

4 Posts

Posted - 02/09/2006 :  03:48:18  Show Profile  Reply with Quote
Using Microsoft Analysis Services Sample MDX application, we have written custom MDX queries. Report Portal allows us to view automated MDX queries based on the OLAP report created. The MDX syntax created by Report Portal is different than that what we have written so far. We would like to know which standard is better. For example - After reading about MDX syntax in general, I haven’t found use of HIERARCHIZE function.

Our MDX – Select non empty ({[Rx].[(All)].Members}*{[Group Type].[(All)].Members}
)}) on rows,
non empty {
[Measures].[Rx#],
[Measures].[PatDays],
[Measures].[Non Mug]} on columns
From [EPOC]

Report Portal MDX –
Select non empty HIERARCHIZE(DISTINCT({Crossjoin({
[Rx].[(All)].Members},
{[Group Type].[(All)].Members}
)})) on rows,
non empty {
[Measures].[Rx#],
[Measures].[PatDays],
[Measures].[Non Mug]} on columns
From [EPOC]

Any thoughts on this will be helpful. Thanks in advance,
--Saurav

admin

1644 Posts

Posted - 02/13/2006 :  23:31:09  Show Profile  Reply with Quote
Crossjoin()function and {}*{} are equivalents

HIERARCHIZE function is used in the expand mode so that members are presented in the proper dimensional order.

DISTINCT function is used in the expand mode so there are no duplicates in case of overlap.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page