SSAS Tabular: Show balance on latest dimension attribute

Hi,
I have a fact with transactions over time eg.
20140101, 1000
20140105,-400
In SSAS Tabular, I want to add a balance (saldo) measure, that shows the balance on any given date from my date dimension
Balance 20140106: 600
 I can do this by using SUMX (or summarize)
Saldo:=SUMX(
VALUES('Date'[Date])
,CALCULATE(
SUM(Fact[Amount])
,DATESBETWEEN('Date'[Date],BLANK(),LASTDATE('Date'[Date]))
,ALL('Date')
The issue arises when I want to show the balance for an attribute from a dimension related to the latest fact entry. I can calculate this on dates that has transactions like this:
Saldo_MaxFact:=MAXX(
VALUES('Fact'[FactId])
,CALCULATE(
SUM(Fact[Amount])
,DATESBETWEEN('Date'[Date],BLANK(),LASTDATE('Date'[Date]))
,ALL('Date')
,ALL('Fact'[FactId])
,ALL('Dimension')
But on dates with no transactions, this measure is empty (which makes sense, since there is no FactId to roll-up the sum to).
How would I go about creating a measure that rolls up to any given date AND the attributes on the latest fact entry?
I have created a sample snapshot: http://1drv.ms/1ly4o6a
Sample Excel Power Pivot model: http://1drv.ms/1jy2nkX
Any help would be much appreciated!

Hi Greg,
Finally I found the problem why the query goes out of memory in tabular mode. I guess this information will helpful for others and I am posting my findings.
Some of the non-key attribute columns in the tabular model tables (mainly the tables which form dimensions) do not contain pretty names. So for the non-key attribute columns which I need to provide pretty names I renamed the columns to something else.
For an example, in my date dimension there is a non-key attribute named “DateAltKey”. This is the date column which I am using. As this is not pretty to the client tools I renamed this column as “Date” inside the designer (Dimension
design screen). I deployed the cube, processed the cube and no problem.
Now here comes the fun part. For every table, inside the Tables node (Tabular SSAS Database > Tables) you can view the partition details. You have single partition per dimension table if you do not create extra partitions. I opened the partitions screen
and clicked on the “Edit” icon and performed a Syntax Check. Surprisingly it failed. It complains about the renamed column. It complained “Date” cannot be found in source. So I realized that I cannot simply rename the columns like that.
After that I created calculated columns (with a pretty name) for all the columns which complained and all the source columns to the calculated columns were hid from the client tools. I deployed the cube, processed the cube and performed a
syntax check. No errors and everything were perfect.
I ran the query which gave me trouble and guess what... it executed within 5 seconds. My problem is solved. I really do not know who did this improve the performance but the trick worked for me.
Thanks a lot for your support.
Chandima

Similar Messages

  • OLAP Dimension Attributes in a BI Beans Crosstab

    Hello,
    How can I show my custom OLAP dimension attributes in the BI Beans Crosstab?
    Can I compare this attributes with the measures?
    I have a cube with three dimensions and I have defined some limit amounts which are valid only for one of the dimensions. Additionally they are defined only for aggregated levels in this dimension.
    I was wondering whether I could define these limit amounts as dimension attributes and use them to compare with the measures.
    Is there any other possibility?
    Maybe I can create my custom column in the Crosstab?
    Thanks in advance,
    Michal

    I would recommend using the built-in security feature of the analytic workspace. There is a command called PERMIT that can be applied to both dimensions and cubes and controls user access to dimension members.
    There is a document on the OLAP home page that explains how to secure and AW using the permit command
    http://www.oracle.com/technology/products/bi/olap/olap10g_applying_aw_security.doc
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • SSAS Date Dimension attribute not displaying all members when browsed singly

    I have an SSAS Cube database that holds data from 2009 to 2013 (5 years)
    There is a Date Dimension in the database which holds a "Calender Period" Hierarchy with the attributes CalenderYear >> Quarter >> MonthYear >> Day .
    I am connecting to the cube via Microsot EXCEL
    Whenever i try to browse this hierarchy alone in the spread sheet, the first attribute as per the hierarchy shown above i.e. Calender Year does not display all the members, that is confusing the users to assume that the cube is not processed with the latest
    data, which is not the case. However as soon as i try to browse any measure with this dimension, the data automatically shows for the latest dates of 2013 as per the expectations.
    The perspective that is selected while connecting to the Cube in this case is the one that is by default the one including all the Cube Objects.
    Whenever i try to browse the same cube for the same Dimension Hierarchy but in a separate user perspective i get the latest three Calender Years i.e. 2011,2012 and 2013 but not the complete years 2009 to 2013.
    When i was browsing this earlier by the original base perspective (which has all the cube objects visible) the Calender Years displayed were 2009,2010,2011&2012 but not 2013 which should be there.
    I checked the base view in the DB that is used to create this Dimension, that is fetching the complete data for 2009 to 2013.
    I have also verified that this issue is still there if i try to browse the cube from the SSMS.
    Can anyone help me to get all the years from 2009 to 2013 (the years for which my cube has data) become visible as soon as i drop it alone into the Spreadsheet?
    Thanks 
    Suvrat

    Thanks for your response Muthukumaran.
    I did not know about this default measure property of the SSAS cube, it would be nice if you could also tell me how to check which is the default measure for a cube.
    I understand your point that if a particular measure group does not have data for a year then that particular year will be skipped as per the default excel settings, which when disabled allowed all the years to be displayed, but in that case every time the
    users connect to the cube via excel, they will have to configure this property.
    I would like to share the way i resolved this issue:
    I went ahead and simply did a Process Full for the Date dimension. The years started to display by default as per the expectations. Now after observing this change, as per my understanding I believe this issue was due to the CACHE of the cube not being updated
    for the date dimension. As after each incremental load of the DWH we processed the cube & while processing the cube the dimensions were set for a Process Update and the Measure Groups were set for a Process Full. This caused this issue, and we could resolve
    this once the Date Dimension was processed full.
    Thanks
    Suvrat Rai

  • MDX : How to use filter on a dimension without showing it OR merge 2 attributes of the same dimension?

    Hello everyone,
    I'm kind of newbie with MDX language, I'm trying to get filtered measures from a cube with a specific layout.
    Here is my exemple :
    I want to get all the "order numbers" where the "invoice" cost is more than 300.  Each invoice is linked with an ID, one order number can have several invoices.
    So what I do is a select request with 2 dimensions : "order num" and "id_invoice"
    Here is the result : I get all the cost sorted by "order num" and I can easealy identify those who are above 300
    order num
    Id_invoice
    cost
    Total
    Total2
    15450307
    10032013094498
    1671
    1737
    ok
    15450307
    10032013099835
    66
    1737
    KO
    15450596
    10032013094078
    8524
    8524
    ok
    15451214
    10032013094119
    228
    4348
    KO
    15451214
    10032013097069
    978
    4348
    ok
    15451214
    10032013097071
    3142
    4348
    ok
    15542434
    10032013101736
    142
    142
    KO
    15550064
    10032013097016
    1261
    1261
    ok
    15550346
    10032013097586
    2252
    2252
    ok
    15550353
    10032013098446
    2617
    2617
    ok
    What i need : In "cost", I need to have the sum of each cost which are above 300 in one line (without showing the invoice id)
    order num
    cost
    Total
    Total2
    15450307
    1671
    1737
    ok
    15450596
    8524
    8524
    ok
    15451214
    4120
    4348
    ok
    15550064
    1261
    1261
    ok
    15550346
    2252
    2252
    ok
    15550353
    2617
    2617
    ok
    How is it possible to use a filter on a dimension without showing it or merge 2 attributes of the same dimension ?
    The problem is that if I show "id" column, the filter doesn't work properly : it compares 300 with the total cost of the whole order and does not compare with each invoice (which could be under 300 ! - see "KO" in Total2 column)
    Here is the request I use to generate this result :
    with
    member [Measures].[Total]
    as (
    [TP].[ID INVOICE].[All],
    [TP].[ORDER NUM].currentmember,
    [Measures].[COST]
    member [Measures].[Total2]
    as (
    IIF([Measures].[COST] >
    300, "ok",
    "KO")
    select
    {[Measures].[COST],[Measures].[Total],[Measures].[Total2]}
    on
    columns,           
    Filter
                 [TP].[ORDER NUM].[ORDER
    NUM].members *
                 [TP].[ID INVOICE].[ID
    INVOICE].members
                 ,[Measures].[COST]
    > 0
    on
    rows
    FROM [MYCUBE]
    Thank you  for your help !
    Kind regards,
    Olivier.

    Hi Olivier,
    hereunder a similar query against the AW. For all order numbers, we sum all lines above 30 without diplaying the line numbers:
    WITH
    MEMBER [Measures].[lines above 30] AS
    IIF(
    [Measures].[Internet Sales Amount] > 30,
    [Measures].[Internet Sales Amount],
    null
    MEMBER [Measures].[aggr lines above 30] AS
    SUM(
    exists(
    [Internet Sales Order Details].[Sales Order Line].[Sales Order Line],
    [Internet Sales Order Details].[Sales Order Number].currentmember
    [Measures].[lines above 30]
    SELECT
    [Measures].[Internet Sales Amount],
    [Measures].[aggr lines above 30]
    } ON 0,
    [Internet Sales Order Details].[Sales Order Number].[Sales Order Number] ON 1
    FROM ( SELECT
    [Product].[Category].[All Products] ON 0,
    [Internet Sales Order Details].[Sales Order Number].&[SO51177]:
    [Internet Sales Order Details].[Sales Order Number].&[SO51178]
    } ON 1
    FROM [Adventure Works] )
    I reduced the cube with a subselect.
    Philip,

  • Hide/show a column for some users in SSAS tabular

    Hi,
    I have a requirement to show one of the columns in a table only to some of the users. I know SSAS tabular only supports row level security. The only solution I came up with yet is to create two different models. Unfortunately this wastes a lot
    of expensive RAM in the server. Is there a better way? Some kind of work-around? ;)
    Best Regards
    Ulf

    One other way is to embed the security level into the table. You can do this by adding a "security_ID" into your structure and join it with a security table and join this to a security table which has a junction of Tablecolumns/User or TableColumns/UserGroups. 
    The next step is to use a Case When in your sql query  and make a decision to show null or real data for any column. 
    Business Intelligence Architect

  • Sort dimension attributes then show folder

    I have an dimension as below where i have created an folder for Spanish fields and rest attributes are non foldered.
     i want to sort the dimension attributes then show the folder attributes.
    ie:
    Customer
                 Customer Key
                 Education
                 Gender 
                 Material Status
                 Spanish Fields
    ShanmugaRaj

    Hi Shanmuga,
    Generally, all the folders will display on the above of dimension attributes, all the folders and attributes are listed in alphabetical order, we can sort one property members' sequence, but there is no build-in feature to sort all properties' sequence,
    if you want to sort the properties at your will, you have to add some prefix to property's name using the letter. However, you want to display attributes first and then folders, right? I am afraid this requirement cannot be achieved.
    However here I still would recommend you to submit a feedback to Microsoft Connect at this link at this link
    https://connect.microsoft.com/SQLServer/Feedback This connect site is a connection point between you and Microsoft. Your feedback enables Microsoft to make software and services the best that they
    can be, Microsoft might consider adding this feature in the following release after official confirmation.
    Regards,
    Charlie Liao
    If you have any feedback on our support,
    please click here.
    Charlie Liao
    TechNet Community Support

  • SSAS Tabular - Hide dimensions without measures from measure groups

    Hello all,
    I have a tabular model cube with several dimensions and fact table.
    The problem is all the model tables appear as measure groups in the client (excel).
    How can I hide these dimensions from the measure groups as they should only appear as related dimensions in the facts measure groups?
    I have tried the option "hide from client tools" but this also hides the table in the related dimensions in fact measure groups.
    Thanks for the help,
    Best Regards,
    André

    I have given my feedback to microsoft regarding this issue. If you think, this should be considered in their next release please hit the "Vote" button in below link:
    https://connect.microsoft.com/SQLServer/feedback/details/893131/hide-from-client-tools-property-do-not-hide-the-measure-group-while-browsing-the-cube
    Thanks!
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • Reading column data type in SSAS tabular database using adomd

    I am working on SSAS tabular database and I need to find out the column datatype. I am using ADOMD for this. So far I looked at AdomdDataReader.GetSchemaTable
    Method & looked at the below code snippet to retrive Metadata from the AdomdDataReader.
    foreach (DataRow objRow in schemaTable.Rows)
    foreach (DataColumn objColumn in schemaTable.Columns)
    Console.WriteLine(objColumn.ColumnName + " = " + objRow[objColumn]);
    Console.WriteLine();
    I wonder with only the list of columns available to me, how can I execute a query/command and utilize adomd reader to get this information?
    What is the best approach to read column metadata?

    Hi, One option that you can try is to use AMO. Here is a sample code that connects to multi-dimensional model.
    http://sqlblogcasts.com/blogs/drjohn/archive/2012/03/15/ssas-utility-to-check-you-have-the-correct-data-types-and-sizes-in-your-cube-definition.aspx
    You will have to change few things to make it work for tabular model. Sorry, I did not try myself but I hope this will give you some ideas.
    // get DSV - this code assumes only one DSV in cube definition
    AMO.DataSourceView
    dsv = olapDatabase.DataSourceViews[0];
    foreach (AMO.Dimension
    dim in olapDatabase.Dimensions)
     foreach (AMO.DimensionAttribute
    attr in dim.Attributes)
     foreach (AMO.DataItem
    dItem in attr.KeyColumns)
         AddAttributeDataItem(dtCubeDataTypes,
    "Key", dsv, attr, dItem);
    AMO.DataItem contains column size and data type when connected to a tabular database.

  • SSAS tabular mode Perspective display in Excel 2010

    Hello All,
    I have SSAS tabular modal cube. I created one perspective based on user requirement. I am using Excel 2010 to open the perspective. When I check the Pivot Tbale Field List (window at the right), I can see all my tables, columns and mesaures that I selected
    for my perspective by scrolling in hte Field List. However when I click the drop down which says (Show fields related to:) I can see only 3 to 4 Dimension tables and some of the measures that I selected. I don't see all the tables in that perspective. When
    I open the perspective which contains the entire cube, I can see all tables, columns and measures in the drop down list, however with perspective it only shows certain table.
    Does anyone why this behaviour in Excel. I tried opening in Excel 2013 but got same result.
    Any help in solving this matter would be appreciated.
    Thanks
    Deepak Gada

    Hi,
    In tabular projects there is no property like "NameColumn" to change the display labels. What I would suggest is to create a calculated column in tabular project by using CONCATENATE() function available in DAX. As an example;
    Account Names:= CONCATENATE([Account Name] + " - ", [Account ID])
    Following is the link to CONCATENATE DAX function.
    http://msdn.microsoft.com/en-us/library/ee634811.aspx 
    Best regards...

  • 'dimension attribute was not found' error while refresing the cube in Excel

    Dear All,
    Thanks for all your support and help.
    I need an urgent support from you as I am stuck up here from nearly past 2-3 days and not getting a clue on it.
    I have re-named a dimension attribute 'XX' to 'xx' (Caps to small)in my cube and cleared all dependencies (In Attribute relationship tab as well).
    But while refreshing the data in excel client (of course after processing the full cube) I get an error
    'Query (1, 1911) the [Dimension Name].[Hierarchy Name].[Level Name].[XX] dimension attribute was not found' error.
    Here I am trying to re-fresh an existing report without any changes with the new data.
    Does not it re-fresh automatically if we clear the dependencies or there something that I am missing here (Like order of the dependencies).
    Cube processed completely after modifications and able to create new reports without any issues for same data. What else could be the reason?
    Can some one help me here?
    Thanks in Advance and Regards,

    Thnaks alot Vikram,
    In se11  ,when i was trying to activate the  /BIC/FZBKUPC , it is showing the warnings  like
    Key field KEY_ZBKUPCP has num. type INT4: Buffering not possible, Transport restricted.What it means.
    In PErformance Window it is showing like:
    A numeric type was used for a key field. A table of this sort cannot be buffered.When buffering, the table records for numeric values cannot be stored in plain text.
    Procedure
    You can enter "no buffering" as an attribute of the technical settings and then repeat the activation process. The table is not buffered.
    If you want to buffer the table, you must replace the type in the key field by a character type, i.e. that you must modify the table.
    Please adivice with your valueable suggestyions.
    Thanks Vikram.

  • SSRS Parameters using SSAS Tabular model get cleared

    I have an SSRS report that uses data from a SSAS Tabular model.  In the query designer, from the calendar dimension I choose a "Date Inclusive" filter and make it a parameter. I also choose to add another filter using and Organisation Unit
    dimension and also make this a parameter. The report is written and deployed to a SharePoint 2013 library.
    Most of the time, the report runs as expected with the parameters cascading off each other as expected.  However, occasionally, parameters get cleared (either after changing a single value such as the Org Unit selection or sometime whilst the report
    is being rendered). Sometimes you cannot select a value from the available values - you need to navigate somewhere else and then start over.
    I changed the data source for the parameters to use SQL queries that return the same values as the MDX queries and the probably seems to have gone (time will tell)
    This report has a child (detail) report that has one extract parameter.  This parameter happens to have over 1,000 values.  With the change of the parent report, you are now able to get to the child report.  However, the child report seems
    to exhibit the same problem with the parameters being cleared - and with a much higher frequency.
    So, that leaves me wondering whether
    anyone else has experienced this ?
    is this an issue with SSRS 2012 and SSAS Tabular models (I have not seen this behaviour before and I have been using SSRS (since version 1) and SSAS Multi-dimensional (from when it was called "OLAP Services") ?

    We applied SQL Server 2012 Service Pack 2 to the SharePoint farm (the SP Admin needed to re-create the service applications) and the problem is fixed

  • Filter Date Table (SSAS Tabular)

    Hi Guys,
    I'll try to define my issue as clear as possible.
    Am creating a model for SSAS Tabular but I have following problem.
    I have a Date Table that I want to filter depending on what the user select from another table with values like:
    Today, Yesterday, This Week, Last Week, This Month, Last Month, .....
    What I have tried:
    (1) My Date table contains flags(columns) for each of these values. Filtering on these values is no problem. But then I have a long list of different possible flags.
    (2) I created a copy of my date table but with the flags unpivoted (DateId, FlagName, Value (0 or 1))
    I was hoping to be able to create somehow a relation between my date table and this table, but no success.
    Also this way I would have a field that users can filter on (choose what period they want to see)
    But sadly enough (2) did not work and I can not find any other way to find a solution for it.
    Any help would be great.
    Regards,
    Sammy

    In your date table, you can create different attribute for
    each condition below:
    1. Today, 2. Yesterday, 3. This Week, 4. Last Week, 5. This Month, 6. Last Month
    So, if we consider above attributes there will be 6 different attributes with "Yes/No" Or "True/ False" Or "1/0" whatever flag.
    I would suggest you to calculate these conditions in sql query which will be faster compared to calculated columns in the model.
    Unfortunately, tabular model 2012 do not support dynamic set so you cannot build a single attribute with these values @server side.
    I had similar question sometime back, check if you find something useful from this thread -
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/302dd796-2677-44df-a76e-b053dcd14117/ssas-tabular-model-dynamic-fiscal-period?forum=sqlanalysisservices
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • Defining Dimensions, Attribute Hierarchies for a Link Table(Many to Many)

    I have 3 Tables in the Database
    Table 1: Transactions (Fact Table) - PK(TransactionId)
    Table 2: Relationship (Dimension1) - PK(Relationship Id), FK_TransactionId, FK_CompanyId, RelationshipType
    Table 3: Companies (Dimension 2) - PK(CompanyId)
    Table 2: Relationship table is a link table between Transactions & Companies to facilitate many to many relationship. 
    I defined Fact and Dimension tables accordingly but having issues defining Dimension & Attributes for Relationship tables
    Relationship Dimension:
    I have 3 hierarchy groups defined
    Hierarchy 1 - Relation -Relationship Type,Relationship Id(PK)
    Hierarchy 2 - Transaction - Transaction, Relationship Id(PK)
    Hiearchy 3 - Company - CompanyId, Relationship Id(PK)
    Defined the attribute relationship in the following way
    RelationshipID(PK) ---> CompanyId , RelationshipID(PK) ---> TransactionId, RelationshipID(PK)
    ---> RelationshipTYpe
    I am getting incorrect results when I deploy the cube. Not all the types are being displayed only 4 types are being displayed out of 27 types though there exists Transactions for all the Types.
    To fix the incorrect results, I tried to break the Relationship Dimension into 2 dimensions seperating Transaction(Relationship Dim) & Company,Type (Companies Dim). I tried to configure a many
    to many Relationship type between my  Companies Dim & Fact Table Transaction. But I get the error that says 
    "Companies Dim many to many dimension in the Tansaction measure group requires that the granularity of the Relationship dimension is lower than that of the Relationship measure group "
    Any help regarding how to difine Dimensions & Attribute Hierarchies on a Many to many link table is appreciated.

    Hi Jaya,
    According to your description, you are experiencing the issue when implement many to many relationship by using a bridge table in your SQL Server Analysis Services project, right?
    Generally, a bridge table will have a surrogate key for the dimension and a surrogate key to the fact table or a degenerate dimension based on the fact table. Here are some blogs which describe how to implement many to many relationship using a bridge
    table.
    http://bifuture.blogspot.com/2011/06/ssaskimball-modeling-nm-relation.html
    http://www.sqlchick.com/entries/2012/1/22/data-modeling-tip-when-using-many-to-many-bridge-tables-in-s.html
    http://social.technet.microsoft.com/wiki/contents/articles/22202.a-practical-example-of-how-to-handle-simple-many-to-many-relationships-in-power-pivotssas-tabular-models.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Dimension Attributes

    Hi
    I'm designing a fact table and a dimension table, but the dimension tables are having many level and each level is having many attributes, pls see the following data and pls help me in how to go ahead with this kind of dimension attributes.
    A00001 - All
    BALANCE_SHEET - Balance Sheet Accounts
    ASSETS - Assets
    [110000 - 150317]
    [151610 - 151620]
    [A12110 - A13999]
    [A14214] - Short Term Prepaid Assets
    [A14999] - Capital Leases
    [A15214] - Short Term Prepaid Amort
    [A15999] - ACD Capital Leases
    FIXED_ASSETS - Fixed Assets
    PURCHASED_ASSET - Purchased Assets
    PFURN_MACH_EQ - Purch Furniture Machinery Equi
    [A14001 - A14003]
    [A14099] - Pre-Paid, Maintenance
    [A14100 - A14213]
    [A14500 - A14900]
    PACD_FURN_MACH_EQ - Purch ACD Furn Mach Equip
    [A15001 - A15003]
    [A15099] - ACD: Pre-Paid Maintenance
    [A15100 - A15213]
    [A15300] - ACD: Building Improvements
    [A15500 - A15900]
    LEASE_ASSETS - Lease Assets
    LLAND - Capital Lease Land
    [A14004] - Capital Lease Land
    LINFRA_NONDEP - Capital Lease Infra Non Deprec
    [A14005] - Capital Lease Infra NON DEP
    LCIP - Capital Lease Cnstruct In Proc
    [A14006] - Capital Lease CIP
    LBUILD_IMPROVEMENTS - Capital Lease Building & Impro
    [A14007] - Capital Lease Bldgs & Improv
    LFURN_MACH_EQ - Capital Lease Furn Mach Equip
    [A14008] - Capital Lease Furn Mach Equip
    LINFRA_DEP - Capital Lease Infra Deprec
    [A14009] - Capital Lease Infra DEPREC
    LACD_BUILD_IMPROV - Capital Lease ACD Build Improv
    [A15007] - ACD Cap Lease Bldgs & Improv
    LACD_FURN_MACH_EQ - Capital Lease ACD Furn Mach Eq
    [A15008] - ACD Cap Lease Fur Mach Eq
    LACD_INFRA_DEP - Capital Lease Infra Deprec
    [A15009] - ACDCap Lease Infra DEPREC
    LIABILITIES - Liabilities
    [201000 - 203000]
    [L00001 - L21179]
    FUND_EQUITY - Fund Equity
    [351000] - AR - WRITE OFF
    [370000 - 388890]
    [F00007] - Fund Balance: Restricted,State
    INCOME_STATEMENT - Income Statement
    REVENUE - Revenue
    GENERAL_REVENUE - General Revenue
    [400100 - 496600]
    [900001] - Appropriation Transfer
    STATISTICAL - Statistical
    [S00001 - S00017]
    EXPENSE - Expense
    [E10000] - All Expense Accounts
    PERSONAL_SERVICES - 1 Personal Services
    [E19999] - Point 1 Roll Up
    [E51000] - Roll Up For Personal Services
    SALARIES - 510100 Salaries
    [510100 - 510101]
    [510200 - 510201]
    thanks

    Hi,
    Assuming that when you say " have make BP as DIM ID" it means that you have included it in a dimension. Correct?
    You can make it as "line item" and you will still be able to report with its NavAttr and even with time dependance (ratings) provided you time dependant attr is NAV.
    The only difference between line item dimensions and normal dims is that no dimension table created and you can only have one char in it.
    You should do that for a characteristic having very high granularity (number of records posted of your characteristic divided by the total number of records in your fact tables (F and E) ). Usually document/item numbers are in that case (granularity is more than 50%; other will say 20% but I personally think that with 20 the DIM table still reduces the query time).
    By not having the dimesion table, a query using this kind of characteristic will select the data directly form the cube fact tables instead of first going to the DIM table, gather DIMIDs and go to the E/F tables...
    hope this helps...
    Olivier.

  • Optimize Fact tables in SSAS Tabular Model

    Hi,
    I have five Fact tables in SSAS Tabular Model and each fact table share same dimensions. It creates some performance issue and also the data model looks very complex is there any simplest way to create simple data model using all fact tables. For Ex...
    Please suggest me for this ...
    Fact Tables:
    Fact_Expense
    Fact_Sale
    Fact_Revenue
    Fact_COA
    Fact_COG
    Dimensions:
    Dim_Region
    Dim_Entity
    Dim_Product
    Dim_DateTime
    Dim_Project
    Dim_Employee
    Dim_Customer 

    Hi hussain,
      Please consider merging the Fact tables based on granularity. Generally, if you have enough RAM there will be no performance issues. Make sure you have double the amount of RAM to cater your processing and operational needs.Try
    to optimize the model design by removing unused keys and some high cardinality columns.
    Please go through the document in the link:
    http://msdn.microsoft.com/en-us/library/dn393915.aspx
    Regards,
    Venkata Koppula

Maybe you are looking for

  • Help me transfer my mybook to my new imac

    I just bought a new imac and I bought the mybook external hard drive. I do not know how to transfer my information the mybook to my mac. Pleases Help!

  • IPhone 5 Glitch - Text Messages and E-mails

    So basically when I have any application open that uses sound, such as a game for example, if I turn down the volume within the application, when I exit the application the volume of my text messages and e-mails are set to the same level as whatever

  • Simple XML Editor

    Is there a simple, FREE, XML editor out there (written in Java)? I am using an XML file format for a small application I wrote, and I would prefer to edit the file using an XML editor, since it is easy to screw up the file in a text editor. If you've

  • To check Condition Supplements entries in tcode ME31K/ME32K

    Dear Friends, My requirement is to put a check on condition type selection and entries of condition supplements for transaction code ME31K/ME32K. First Requirement: For a Contract PO, we have 2 condition types 'P000' and 'ZP00'. Currently it is allow

  • Can't get music to sync?

    Can't get music to sync to my iPhone? Everything else syncs except my music.