Group and drill down and roll up by the most recent SCD2 type member in reporting period in SSAS

Hello,
I am new to SSAS and cube world so my problem might not be big of a challenge for you but it is for me.
Here is my challenge :
My simplified datamart relation star schema model looks like this (2 dimensions and one fact):
DATE dimension - Date_Id, Date, Fiscal_Year, Fiscal_Quearter, Fiscal_Month, Calendar_Month, etc
 CLIENT dimension – Cient_SK, Client_Id, and two  SCD2 type fields : Status,and Class and, of course, Start_Date, End_Date to keep track of SCD2 along with a Current_Flag . I can have several records for the same Client_Id
over a given reporting  period.
FACT – Date_ID, Client_SK, Client_Id
Fact table is daily snapshot that loads one record per client only if a client was active on that day.
Requirement: 
Count number of currently active clients group by  “Status” or “Class” with option to roll-up to the total count of clients
Count total number of clients who were active in the specific reporting period (period can be fiscal year or fiscal quarter or a month) grouped by the most recent “Label” or most recent “Status” or most recent “Class” in that reporting period.
I created a cube and created a measure “Distinct_Count” that does just that - distinct count on Client_Id. It works just fine for current date as well as for any given reporting period and I have nice rolling-up/down thru Fiscal_Year-Fiscal_Quarter- Month.
But I am having problem grouping by any of 3 attributes with SCD2 type in CLIENT dimension. I do not know how to get the latest active value (member) in the reporting period
Here is my CLIENT dimension:
Client_SK
Client_Id
Status
Class
Start_Date
End_Date
Current_Flag
14
78
fair
B
03/01/2008
27/09/2012
0
73
78
very good
C
28/09/2012
15/08/2013
0
89
78
Bad
B
16/08/2013
24/09/2013
0
95
78
Good
B
25/09/2013
03/10/2013
0
97
78
Good
A
04/10/2013
01/12/2013
0
102
78
Average
A
02/12/2013
31/12/2099
1
For example:
If selected reporting period is  Fiscal_Quarter is Q2 that covers period Aug-Sep-Oct (Client_SK: 89, 95, 97) and if my client was active in that period, when I group active client’s count by “Status”
 attribute I need to count this client in the group “Good” since that was the most recent value for this client in this period (Q2) for this attribute (Status).
I do not know if this is important but just in case: user interface  could be Excel application or any MDX enabled Microsoft or third party visualisation tool.
Thanks in advance

Hello Bob,
Thank you for your question. I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
Regards,
Elvis Long
TechNet Community Support

Similar Messages

  • TS3276 can anyone help on the following please. When I have been away from the office for a few days and check for emails it only supplies the most recent 100 emails and the ones before that are never received. thanks

    can anyone help on the following please. When I have been away from the office for a few days and check for emails it only supplies the most recent 100 emails and the ones before that are never received. thanks

    Does your server have a limit?

  • Is anyone else experiencing their phone randomly locking up and going to a blue screen after the most recent update?

    iPhone 5s Random Blue Screen after last Update

    I have had 9 iOS devices either just show the apple log and go black or a dead battery even thou they were on the chargers for hours.
    I brought them to the Apple store.  No one could give me an answer as to why it did it.  All you have to do to fix it is do this:
    To put your device into recovery mode, follow these steps:
    Turn off your device and leave it off.
    Plug in your device's USB cable to a computer with iTunes.
    Hold down the Home button on your device as you connect the USB cable. ...
    When you see this screen, release the Home button.
    From the consensus of the people in my office that did the iOS 8.3 update.  The ones that did the update while the iPhone or iPad was on a charger are not experiancing any issues.  The ones that did the update without being on a charger are the ones experianceing the issues at hand.

  • Use Of Filter and Drill Down  By Option in Context Menu

    Hi,
    We are  on  BI  7.0 patch 14.0
    I have the Filter and Drill Down by option checked in the context menu Web item in WAD . However when I preview on the Web what happens is that the characteristic that I am using the filter and  drill down on shows up horizontally as opposed to in a column.
    For eg: If I have the following data initially
    01/01/2007     250
    02/01/2007    500.
    I keep my cursor on 01/01/2007 and do a filter and drill down by 0calqtr then what I see now is
    01/2007    02/2007 03/2007 04/2007
    instead of
    01/2007
    02/2007
    03/2007
    04/2007.
    Each CalQtr will have a key figure Value beside it in the horizontal mode.
    This happens only when I pick the characteristic on the Graph. On the Web Item Analysis it works fine. Has anyone faced this issue before. This worked fine when it was WAD 3.5. This affects the presentation of the graph. For Objects that have not been migrated the result still shows fine.

    Hi,
    We are  on  BI  7.0 patch 14.0
    I have the Filter and Drill Down by option checked in the context menu Web item in WAD . However when I preview on the Web what happens is that the characteristic that I am using the filter and  drill down on shows up horizontally as opposed to in a column.
    For eg: If I have the following data initially
    01/01/2007     250
    02/01/2007    500.
    I keep my cursor on 01/01/2007 and do a filter and drill down by 0calqtr then what I see now is
    01/2007    02/2007 03/2007 04/2007
    instead of
    01/2007
    02/2007
    03/2007
    04/2007.
    Each CalQtr will have a key figure Value beside it in the horizontal mode.
    This happens only when I pick the characteristic on the Graph. On the Web Item Analysis it works fine. Has anyone faced this issue before. This worked fine when it was WAD 3.5. This affects the presentation of the graph. For Objects that have not been migrated the result still shows fine.

  • Difference between drill down and filter using navigation attributes?

    hi all,
    can anyone let me know the difference between filter and drilldown options using navigational attributes. pls explain with examples for filter and drill down and how it varies.
    thanxs
    haritha

    Jst to add up with an example :
    Say you have a cost center variance analysis report with cost elements in the filter. ( not present in the default report result )
    Filter - You can right click on a particular cost center & say " Keep Filter Value " - it will result in only showing that cost center & you can wish to select other filter value doing " Select Filter Value ".
    Drill Down - If u wish to see the cost elements associated with cost centers you can right click on Cost Center & do " Drill Down To - Cost Element " or Drill Across.

  • Roll-up and Drill-down in JOLAP

    HI!!!!
    I'm studing the JOLAP specification and I don't understand how to implement the drill-down and roll-up operations.
    Where can I find some example about it?
    HELP, PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    :-(

    Hello,
    Just to add to the above replies from our two experts.
    I checked your scenario, and I think maybe you can acheive this just by changing the macro's execution level, from detailed level to aggregated level. Here you do not need the drill_down and drill_up macros, which are time consuming ...
    Please have a try and good luck
    Best Regards,
    Ada

  • How to remove the sort function on the drill down and then save

    how to remove the sort function on the drill down and then save in the  change local view of the Query
    Is it possible to change the porperties of any characteristic in the local view and then save?
    If so please post the answer.

    I do not think that option is possible.
    Regards,
    Venkata Boga.

  • Drill Down and Drill UP on Web Analysis Report

    Hi all,
    I have a question regarding Drill down and Drill up on Web Analysis Report.
    The situation is the following:
    I've created a report with some account parent elements in row. The dimension account has a multiple hierarchy.
    I need to drill down on the child of these elements keeping the parente on top and so i've selected the option "Selected Member First".
    The drill down it's ok for the first drill to go on the next level but when i drill down once more to go on the next level of the selected member hierarchy the drill move this level out hierarchy.
    Can someone help me on this point?
    After that i've drilled just to the last level when i drill up on these elements to return on the previous level i note that in the report happens a strange thing:
    The Drill Up works fine but on the report appears another elements which is the same parent with anothe code/alias of another hierarchy instead of the Selected member.
    On this i've noted tha this 2 different parente have the same elements...I think that the children of the selected memeber can be shared members....Can be this the problem?
    Thanks for the help.
    Best Regards
    Eugenio Gualtieri

    Hi John,
    thanks for your answer.
    I've trayed to set the report on Smart View to virify tou test your advise.
    The situatio is the following:
    IS05101010-PUBBLICITA'
    702000 - VEND. DI SPAZIO PUBBLICITARIO
    702010 - RETTIFICHE VENDITE SPAZIO PUBBLICITARIO     
    W10004 - RICAVI PUBBL ICITA' ATTIVA (Q.EDIT) INTE     
    W10007 - RICAVI DA SPAZIO PUBBL. INTERASA     
    W10029 - RETTIFICA RICAVI PUBBL. INTERASA     
    ED05101010-PUBBLICITA'
    702000 - VEND. DI SPAZIO PUBBLICITARIO
    702010 - RETTIFICHE VENDITE SPAZIO PUBBLICITARIO     
    W10004 - RICAVI PUBBL ICITA' ATTIVA (Q.EDIT) INTE     
    W10007 - RICAVI DA SPAZIO PUBBL. INTERASA     
    W10029 - RETTIFICA RICAVI PUBBL. INTERASA     
    If I take only one parent member the drill up works fine but if i take all 2 memeber as above and i decide to drill up on one of the two element occur that the drill work for the two elements at the same time.
    Afetr the drill in this case the situation is:
    IS05101010-PUBBLICITA'
    ED05101010-PUBBLICITA'
    Can be a problem due to shared memebers?
    Thanks for your help.
    Regards
    Eugenio Gualtieri

  • Rebate agreement-Difference coming for credit note value and drill down value .

    Hello Friends,
    In 2013 we had created one rebate for which the validity period was 1st April 2013 to 31st March 2014 . At the end of each month, rebate amount was settled by raising credit note to the customer . Now at the end of March'14 during final settlement, a credit note was raised to the customer . The issue here is there is difference of 1.13 (Pounds) between credit note value and the drill down value for March'14 . Lets say our credit note value is-100 (Pounds)and Drill down value for the month March'14 is 101.13 Pounds. We are not able to find out why this difference is coming . Please let me know your inputs on this .
    Regards,
    Sandeep G. 

    Sandeep -
    During final settlement of a rebate agreement, it calculates rebate amout for the the entire time period less payments already made to a customer and then issues a credit memo request based on that.Please check all the the invoices created during entire period and check accrual calculation.It should match.
    You can check VBOX table to get billing documents for the entire period.
    Let us know if you still have an issue.
    Thanks & Regards
    Amit Gupta

  • What is the difference in Interactive reports and Drill down reports?

    What is the difference in Interactive reports and Drill down reports? Are they same?

    Hi FRD ,
    Both are same .
    as far as i know there is no difference .
    bye .

  • Report painter  and drill down reports

    Hi SAP gurus,
                   Can any froward configuration of  report painter  and drill down reports.
       iassign points

    Hiii Sai Krishna,
    can u forward the same documentation to me..plsss
    my mail id - [email protected]
    thanks in advance
    regards
    ramki

  • Drill down and Drill up

    hi,
      I need to explain to a team, how drill down works. I mean, what are all the properties that I should set for an infoobject to do drill down and drill up on it.
      also, the purpose of hierarchies is drill down? I didnt understand.
    thanks.

    The drilldown and drillup feature is set and achieved in the report by designing in the query designer.
    In the Query Designer if you push a characteristic in "Free Characteristic" then details for this characteristic won't appear in the report.To see the details for these characteristic you have to drill down the original report.
    For Example you have 2 characteristic 0CUSTOMER,0CALDAY and you are displaying KFs "No of Orders" and "Order Value".
    Now if you have both characteristic in the ROWS section in the query designer the report will show Customerwise Daywise Total Order and Sum of Order values.
    Push the 0CALDAY to Free Characteristic.Now you will see only Customer wise No of orders and Value.Right Click you will find an option to drilldown to 0CALDAY and when you select you will be able to see Customerwise Daywise details.
    Hierarchies by default shows the first node and you can drill down to its children.
    Navigational Attribute behaves as a characteristic in the infocube with which you will be able to restriction as well as drill down/up.
    Regs
    Gopi
    Assign points if it helps ....
    Message was edited by: Gopi

  • Can I navigate and drill down in chart and pivot table?

    In the fact, the end user want to navigate to a detail report request when drill down to the final level.
    I know when use table, I can navigate on data and drill down on column.
    But in chart and "pivot table", I do not find the option of interaction to achieve this.
    Any suggestion?

    You can drill down in charts but I just saw you can't in pivots (strange because I assumed that that must be possible)
    However, you can always use guided navigation!

  • Drill down and then navigate issue

    I have created an hierarchy as below.
    County - Office - Unit - Worker
    The last child level is Worker Level. From here I want to navigate to a separate report.
    I can able to navigate from a 'Table View' but not from a Chart View.
    When I tried doing the same on a Chart View. It takes me directly from County to Navigation Report, which I don't want. I want to drill down to worker level and then navigate to a report which I am able to do in a Table View.
    I wonder if we can do this from a Chart View.
    Please advise. Thanks in advance.

    See if this might work for you:
    1) Build your report with County.
    2) Add a column selector and on the "County" column, add Office, Unit and Worker as the other choices. This will in effect be the "drill down" reports.
    3) Once added, go to results and and use the column selector to select Worker.
    4) Now go to the Criteria tab and the County column should be replaced by the Worker column. Click on the column properties and and the Value Interaction to navigate to your other report.
    5) Go back to Results and reselect County from the column selector and save your report.
    Now the user can swap out one column to get the County, Office, Unit, or Worker values. Once on Worker, the user can click on a value to go to your other report.
    Oh, one thing, if you use this method and you have drill-down built in to your hierarchy, change the interaction to "No interaction" for the County, Office and Unit columns. Drill down will be accomplished via the column selector.

  • Is it possible to implement the drill down and navigate reorts in narrative

    any body pse help me to find 'is it possible to implement the drill down and navigate reports in narrative view'

    Hi user12255470,
    Go URLs are a way to directly call an Answer Request or Dashboard Page via a URL. In addition, you can even pass parameters in the URL as filters. GO URLs are used will you want to allow a user to drill into detail by clicking on a static text. It also allows other tools to drill into OBIEE.
    Here's an example GO URL: http://LOCALHOST:9704/analytics/saw.dll?Go&Path=/users/administrator/OTN Tests/Page Test&Style=oracle10&Format=PDF
    I'll break down each piece
    LOCALHOST: This is the URL for your OBIEE web host
    :9704: This is the typical port for OBIEE installs (sometimes 7777)
    ?Go: This is where the it's gets the name "GO URL". It's the GO command.
    &Path= : This is the full path of the report. In my case, it's in the administrator folder in a sub folder called OTN Test. The report itself is called Page Test.
    &Style=: This sets the style, or the look and feel, on how the report is presented. The default is oracle10.
    &Format=: You can set this to default the presentation. I set it to PDf so that a PDF will generated.
    Good luck and if you found this post useful, please award points!
    Best regards!
    -Joe

Maybe you are looking for

  • Open value is not updating in credit workbench

    Hi we are using crm 7 ehp2 system currently facing issue in our credit scenario which is integrated with ERP credit configuration. Open value is not updating in Credit Analyst Workbench(CRM_CAWB) and the same is not updating in erp t-code FD32   fiel

  • Linksys active x problem with web pages

    When i install linksys active X for viewing live video with camera WVC54GCA i cannot open other web pages.I am using Windows XP and Internet explorer 8.Is there any solution for this problem??? Solved! Go to Solution.

  • The control of adf media does not display even the Control attribute is set

    Hi I am trying to play a clip in a jspx page. I use an ADF media to embed the file and play the file by quicktime. I set the control display attribute to "all" or "typical" but the control does not display when the browser(FF) display the clip. Can a

  • New Nano say it is full, but nothing in it

    I tried to set up a new Nano (1GB) for friends today. This Nano was purchased for a 45+ individual who is physically and mentally handicapped. His parents are Wintel users (real novices though) and I offered to load his music via my computer (new Mac

  • Error in Reporting Tool : Resource Staistics Report

    Hi All, I have a problem in KM Reporting section.I have been trying for a long time but couldnt arrive at the soln. Resource Statistics Report : I create an instant report by clicking on the start button and configure the necessary details such as Sc