Google Groups Home
Help | Sign in
Comments in MDX / - Sample Application
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
joerg  
View profile
 More options Apr 28 2003, 7:28 am
Newsgroups: microsoft.public.sqlserver.olap
From: "joerg" <joerg.schm...@pleasespamme.com>
Date: Mon, 28 Apr 2003 04:26:56 -0700
Local: Mon, Apr 28 2003 7:26 am
Subject: Comments in MDX / - Sample Application
Hello,
Thank you for reading this.

I have to build complex MDX statements with comments.
I got the following behaviour within the MDX SApp.
The statement below does not work until i remove the
commented line. Is there a special thing about comments?
Thank you!
Jörg

Select
filter(
customers.allmembers
--,measures.[store sales]>1000)
,instr(1,[customers].currentmember.name,"USA") > 0)
on 0 from sales


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dxd  
View profile
 More options Apr 28 2003, 9:21 am
Newsgroups: microsoft.public.sqlserver.olap
From: dxd <member8...@dbforums.com>
Date: Mon, 28 Apr 2003 13:22:49 +0000
Local: Mon, Apr 28 2003 9:22 am
Subject: Re: Comments in MDX / - Sample Application

Try the C++ style. Like //, or /* ... */
Originally posted by Joerg

> Hello,
> Thank you for reading this.

> I have to build complex MDX statements with comments.
> I got the following behaviour within the MDX SApp.
> The statement below does not work until i remove the
> commented line. Is there a special thing about comments?
> Thank you!
> J=F6rg

> Select=20
> filter(
> customers.allmembers
> --,measures.[store sales]>1000)
> ,instr(1,[customers].currentmember.name,"USA") > 0)

on 0 from sales

--
Posted via http://dbforums.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
joerg  
View profile
 More options Apr 28 2003, 9:50 am
Newsgroups: microsoft.public.sqlserver.olap
From: "joerg" <joerg.schm...@alreadyspamed.com>
Date: Mon, 28 Apr 2003 06:48:06 -0700
Local: Mon, Apr 28 2003 9:48 am
Subject: Re: Comments in MDX / - Sample Application
i tried all options; same problem


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Boon [MS]  
View profile
 More options Apr 28 2003, 2:18 pm
Newsgroups: microsoft.public.sqlserver.olap
From: "Sean Boon [MS]" <seanb...@online.microsoft.com>
Date: Mon, 28 Apr 2003 11:15:37 -0700
Local: Mon, Apr 28 2003 2:15 pm
Subject: Re: Comments in MDX / - Sample Application
What version of Analysis Services are you using?  Comments weren't
introduced until Analysis Services 2000.

Sean

--
Sean Boon
SQL BI Product Unit

**This posting is provided AS IS, with no warranties, and confers no
rights.**

"joerg" <joerg.schm...@alreadyspamed.com> wrote in message

news:052201c30d8c$cbf8f960$a501280a@phx.gbl...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
joerg  
View profile
 More options Apr 29 2003, 6:40 am
Newsgroups: microsoft.public.sqlserver.olap
From: "joerg" <jo...@spame.me>
Date: Tue, 29 Apr 2003 03:38:22 -0700
Local: Tues, Apr 29 2003 6:38 am
Subject: Re: Comments in MDX / - Sample Application
SQL 2000 Enterprise, SP3


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dxd  
View profile
 More options Apr 29 2003, 9:20 am
Newsgroups: microsoft.public.sqlserver.olap
From: dxd <member8...@dbforums.com>
Date: Tue, 29 Apr 2003 12:49:09 +0000
Local: Tues, Apr 29 2003 8:49 am
Subject: Re: Comments in MDX / - Sample Application

The following is working
=======================
Select
filter(
State.allmembers,  --abc
measures.[Sales Units]>1)
 //instr(1,[State].currentmember.name,"USA") > 0)
on 0 from sales
=========================
But the following is not working
==========================
Select
filter(
State.allmembers,  --abcsddf)
measures.[Sales Units]>1)
 //instr(1,[State].currentmember.name,"USA") > 0)
on 0 from sales
===================================
What is the difference? because the 2nd comment contains a ")", which is
treated to close the the filter function, I guess.
I believe this is a bug.

Originally posted by Joerg

--
Posted via http://dbforums.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Boon [MS]  
View profile
 More options Apr 29 2003, 1:07 pm
Newsgroups: microsoft.public.sqlserver.olap
From: "Sean Boon [MS]" <seanb...@online.microsoft.com>
Date: Tue, 29 Apr 2003 10:05:35 -0700
Local: Tues, Apr 29 2003 1:05 pm
Subject: Re: Comments in MDX / - Sample Application
I can reproduce this behavior.  I'll check to see if this is doc'd anywhere.

Sean

--
Sean Boon
SQL BI Product Unit

**This posting is provided AS IS, with no warranties, and confers no
rights.**

"dxd" <member8...@dbforums.com> wrote in message

news:2819556.1051620549@dbforums.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Boon [MS]  
View profile
 More options Apr 29 2003, 2:50 pm
Newsgroups: microsoft.public.sqlserver.olap
From: "Sean Boon [MS]" <seanb...@online.microsoft.com>
Date: Tue, 29 Apr 2003 11:48:20 -0700
Local: Tues, Apr 29 2003 2:48 pm
Subject: Re: Comments in MDX / - Sample Application
This is a known bug in the product at this time and it will be re-evaluated.
Embedded quotes will also cause a failure as well.

Sean

--
Sean Boon
SQL BI Product Unit

**This posting is provided AS IS, with no warranties, and confers no
rights.**

"dxd" <member8...@dbforums.com> wrote in message

news:2819556.1051620549@dbforums.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Olivier Kovacs  
View profile
 More options May 6 2003, 10:22 am
Newsgroups: microsoft.public.sqlserver.olap
From: "Olivier Kovacs" <okovacsNoS...@sympatico.ca>
Date: Tue, 6 May 2003 10:22:21 -0400
Local: Tues, May 6 2003 10:22 am
Subject: Re: Comments in MDX / - Sample Application
I use the MSSQL comments for single lines.
Just start your line with -- (2 minus signs)
It works for me!

"joerg" <joerg.schm...@alreadyspamed.com> wrote in message

news:052201c30d8c$cbf8f960$a501280a@phx.gbl...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google