Solved

Date dimension hierarchy

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
how to remove non-duplicated row 5 25
Sql Stored Procedure 26 28
How to calculate iops? 12 27
SQL Help - 12 37
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
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 …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

13 Experts available now in Live!

Get 1:1 Help Now