Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Date dimension hierarchy

Posted on 2010-09-13
5
Medium Priority
?
140 Views
Last Modified: 2016-02-14
Hello Experts,
I have create a dimdate dimension on my SSAS database.
I get the wrong results from my SSAS database.
My dimdate dimension has the following hierarchy:
Year-->Month-->WeekOfYear-->Date

But when I pick the weekofyear filter from the reports then I get  
previous years data also.
For example when pick the 33th week of the year 2010 then I get
the 33th week sales of my fact table.

I have attached a screenshot and I am sure that you will easily
understand my problem when you look at this png file.
33thweeksalesof2010.png
0
Comment
Question by:innocent1973
[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
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:sureshbabukrish
ID: 33668993
you need to provide another filter to pass the year parameter,

you should pass 33rd week of which year....

you should select 33rd week, 2010 year, then only the data would come properly. since 33rd week would be there in all the years, it is picking for all the years.
0
 

Author Comment

by:innocent1973
ID: 33669599
Thank you for your comment,
I already select Year --> Month --> Desired weekofyear. Because I have configured this report parameter and filter with this hierarchy.
Is this report parameter not enough to filter the correct data?
0
 

Author Comment

by:innocent1973
ID: 33669601
Thank you for your comment,
I already select Year --> Month --> Desired weekofyear. Because I have configured this report parameter and filter with this hierarchy.
Is this report parameter not enough to filter the correct data?
0
 
LVL 9

Accepted Solution

by:
sureshbabukrish earned 2000 total points
ID: 33670029
it is not enough. you only pass 33rd week as the value. 33rd week of which year is the question here?
in the query add another filter to accept the year also
0
 

Author Closing Comment

by:innocent1973
ID: 33670402
Yes,
You are exactly right.. I have added a YEAR filter in order to get the proper values.
Thank you very much for your great comments
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

604 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