SolvedPrivate

Using between in Dimension in MDX query

Posted on 2015-01-15
1
8 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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now