Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

What is correct way to join a start/end date driven dimension to a fact table in data foundation?

$
0
0

I have a bad universe or a data design issue. 

 

Several versions of hierarchies reporting store entities in reporting Fact measures.

 

Example of date driven Hierarchy Dimension:   ORG_KEY

                                                                            START_DATE

                                                                            END_DATE

                                                                            STORE_NUMBER

                                                                            ORG_HIERARCHY   

                                                                            CURR_FLG   (Y/N)        

 

Fact table  :                                                         ORG_KEY

                                                                             CALENDAR_KEY

                                                                             TRANS_DATE

                                                                             $amount  

 

Calendar Dimension:                                            CALENDAR_KEY

                                                                              DAY_DATE

                                                                               FY_WEEK          (201452)

                                                                                FY_PERIOD      (201412)

                                                                                FY_QUARTER   (201401)

                                                                                 FISCAL_YEAR    (2014)

 

Users WISH:

Wish for store number and org hierarchy to pull as of the last day of each pull without prompt.    The Store(ORG_KEY) as in the fact table; but the ORG_HIERARCHY and other attributes as of the last day they pull.

Daily (Would be Calendar.Day_Date in Filter) ,

Week to date (would be Max Calendar.Day_Date for (201452) FY_WEEK  as entered,

Month to date,

Year to date, 

AdHoc queries.  

 

My problem is I see how they could manually pull this in Webi.   I have tried everything I know to join to no avail.  I have not gotten @Prompts to work in joins, derived tables, etc.  in the data foundation.  Wonder what is difference between parameter in Data foundation vs. filter in buisness layer.    None of them worked. 

 

Please help!   ANY ideas would be appreciated.   .


Viewing all articles
Browse latest Browse all 1291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>