Solved

Date dimension hierarchy

Posted on 2010-09-13
5
130 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server 2012 rs - Field1 and Field2 add 1 to Total 4 21
get column names from table in vb.net 8 51
Sql Server group by 10 45
Learning SQL Reporting Services 2014 1 40
In this article I will describe the Copy Database Wizard 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.
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 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