Solved

Date dimension hierarchy

Posted on 2010-09-13
5
127 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
  • 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 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

813 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