473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Need Help to form the MDX-Statement

Hello, I have following Situation:
I have a Dimension "SourceDirectory", whis has Elements
"SourceDirectory1", "SourceDirectory2", ... until "SourceDirectory10".

My Statement in MDX is whis:
SELECT {[Measures].AllMembers} ON columns,
{[SourceDirectory].Children} ON rows
FROM [CheckstyleError]
It works. Now, how can I select all SourceDirectories but not the
"SourceDirectory6", whis has only NULL-Values and I need't to see it in
my report.
I would be glad to have an early reply!
Thanks

Nov 27 '06 #1
1 1282
Hi.

I think you should try with non empty statement. That's look like this:
SELECT non empty

{[Measures].AllMembers} ON columns,

non empty

{[SourceDirectory].Children} ON rows

FROM [CheckstyleError]

"chris" <ch**********@gmx.dewrote in message
news:11**********************@n67g2000cwd.googlegr oups.com...
Hello, I have following Situation:
I have a Dimension "SourceDirectory", whis has Elements
"SourceDirectory1", "SourceDirectory2", ... until "SourceDirectory10".

My Statement in MDX is whis:
SELECT {[Measures].AllMembers} ON columns,
{[SourceDirectory].Children} ON rows
FROM [CheckstyleError]
It works. Now, how can I select all SourceDirectories but not the
"SourceDirectory6", whis has only NULL-Values and I need't to see it in
my report.
I would be glad to have an early reply!
Thanks

Nov 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: alan | last post by:
I'd like to use PHP to submit MDX queries against Microsoft Analysis services cubes. Surely people have done this, but I can't find any information ... and don't, frankly, know where to start. ...
0
by: Manthan Kamat | last post by:
Hi, Can you suggest a way to query an OLAP database maintained in Microsoft Analysis Services using a Java servlet? I particularly want to fire MDX queries from the servlet. Thanks in...
0
by: Sara | last post by:
I am trying to find the average number of products of the set that is on rows...dynamically. For example, if I had states on rows and was looking at the average number of products, I would see...
0
by: Muzamil | last post by:
Hello I have a Fact table in my Warehouse database containing data since 2001 till today. This table is a source table for a Cube also. In this cube, I want to creata a "Calculated measure"...
0
by: Joozh J. | last post by:
Hi, I really want to learn MDX but am finding the few examples that I have come across quite "challenging" to grasp :) Can someone kindly provide some excellent books AND URL's which can help...
0
by: arijitchatterjee123 | last post by:
Hi, Anybody can guide me regarding the MDX query book or pdf from grass root level.Thanks in advance.. Regards Arijit Chatterjee
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
0
by: sal | last post by:
Can the pivottable.mdx property be changed on an excel pivot table? Can this be used as a datasource?
0
by: mumbles | last post by:
Expert OLAP Developer Westminster, CO 6 Months This position is in the Data Warehouse group. Candidate will be using MS technologies to develop reports as needed by business groups. ...
3
by: dkultasev | last post by:
Hello, I have database, which contains the list of laptop companies and some information about them. Some laptop models, have series, sub series, family's and so on. for example. Acer Aspire...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.