SolvedPrivate

Using between in Dimension in MDX query

Posted on 2015-01-15
1
19 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:Auerelio Vasquez
[X]
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
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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