Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Create member

Posted on 2012-04-03
2
Medium Priority
?
314 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 2000 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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

722 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