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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Building MDX query

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
How can i create the where clause with clauses from the same dimension.
Ex:
Select ....on columns
... on rows from cube
WHERE
[Store].[All Stores].[Canada],[Store].[All Stores].[USA]

what is wrong or what i need to do?

marco.rosas@ine.pt
 
What exactly are you trying to accomplish in the where-clause? And what do you mean with "clauses from the same dimension"?

The WHERE clause is a filter that defines the conditions each row in the source tables must meet to qualify for the SELECT.
Example:
SELECT ......
FROM store.[all stores].canada, store.[all stores].USA
WHERE
store.[all stores].canada.productID = store.[all stores].USA.productID
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top