Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
SolvedPrivate

Using between in Dimension in MDX query

Posted on 2015-01-15
1
15 Views
Last Modified: 2016-02-18
using query below: i'm only asking for 8/31/2014 - 12/31/2014. However, i'm getting also 2015 data for example,

for 8/1 i get 8/1/2014 and 8/1/2015 (i'm only looking for 2014 data, what have i done wrong in the below statement ?

select {[Dim Date].[Date].&[08/01/2014]:[Dim Date].[Date].&[12/31/2014]}
 on rows,

{[Measures].[Available Time Net],[Measures].[Logged On Time Net]} on columns
from [OTS Agent Time Net Data]
0
Comment
Question by:basile
1 Comment
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40553002
I imagine you have not defined the date as a date.

Go to the relevant dimension, and click "Add Business Intelligence" - Next - "Define dimension intelligence" and change Dimension Type to "Time".
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
kill process lock Sql server 9 63
MS SQL Delete Query 9 37
SQL Server 2008 R2, need a pivot/cross tab query... 4 28
How can I get the entire database script? 7 12
Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question