Solved

Create member

Posted on 2012-04-03
2
307 Views
Last Modified: 2016-02-15
Hi,
I am trying  to create member in my cube -->calculation

CREATE MEMBER CURRENTCUBE.[Measures].[QTY-YTD] AS SUM(YTD([Date].[YQM].CurrentMember), [Measures].[Quantity]), VISIBLE = 1;
The amount does not change when I change the month in the hierarchy
Thanks
0
Comment
Question by:samprg
[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
2 Comments
 
LVL 3

Accepted Solution

by:
Chris__W earned 500 total points
ID: 37807116
Hello,

The question that first pops up is concerning your Date.YQM hierarchy.  If the levels are not set correctly, it would explain the result of the same amount showing regardless of the month / date specified (as it would be looking at the whole list instead of a group).  

You can verify this by opening the project in BIDS and browsing the Date dimension.  The middle pane should have a hierarchy for YTD.  If it does not, either create one or use a different hierarchy that is built.

I've attached a screen shot of an example.  Attach a screen shot of yours if you're unsure.

Thanks,
Chris
DateHierarchy.jpg
0
 

Author Closing Comment

by:samprg
ID: 37807725
Cool
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

756 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