?
Solved

Date dimension hierarchy

Posted on 2010-09-13
5
Medium Priority
?
138 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
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 video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

770 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