SSAS Tabular 2014 - Questions on Tabular Mode

Hi,
I'm starting to move around into Tabular Mode and I have some questions:
1 - I am hiding surrogate keys using "Hide from client tools" option. Does this hide columns consume memory?
2 - Suposing I have a dimensions with 2 fields, code and description. If I want to have a field that concatenates code and descriptions, does it perform worse creating it on SSAS? What is the recommendation?
Thank you

Hidden columns still consume memory and can be queried with custom queries. You just don't see them in the field list in client tools like Excel. As far as concatenating fields they will compress a little better if you do the concatenation in SQL but it
likely doesn't matter much.
http://artisconsulting.com/Blogs/GregGalloway

Similar Messages

  • 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...

  • Deploying SSAS Tabular Model (2014)

    Hi,
    I'm trying to deploy my model with Microsoft.AnalysisServices.Deployment.exe
    This works locally, but when I try on our test servers then it does not work.
    Strangely enough it tells me that it was all successful....
    Exactly the same result locally as on test server.
    but on my computer it is really deployed but on test server it isn't....
    Any one an idea how I could debug this?
    Kr,
    Sammy

    Hi Sammy,
    According to your description, you are using Microsoft.AnalysisServices.Deployment.exe to deploy the tabular model. It can't deploy successfully on test server. Right?
    In this scenario, since the Deployment Utility didn't throw any error when deploying, the deployment supposed to be executed successfully. Please confirm you connect the correct SQL Server instance. Also please try to deploy via command prompt instead of
    using user interface. You can choose silent mode and it can generate a log file for your further analysis.
    Reference:
    Deployment Utility (Analysis Services - Multidimensional Data)
    SSAS Tabular Model Deployment
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Service accounts for the Workspace Database service permission Error while creating Tabular Mode from PowerPivot

    Hi All,
    Please help me out against this issue. I have spent so much (3 working days) time just figuring out what is the issue and its solution.
    I am learning Tabular Mode and trying to create a mode based on PowerPivot model. I am getting following error message:
    'The PowerPivot workbook could not be imported. The service account for the workspace database server does not have permission to read from the PowerPivot workbook.'
    Here is my infrastructure:
    1. SSAS in Tabular Mode is installed on my Windows 8 Laptop
    2. PowerPivot is also in my laptop
    3. There is only my account (as Admin of course) for SSAS
    Here are my questions:
    1. What is this error and how can I cope with that? A step by step explanation would be highly appreciated :-)
    2. Do I need to change something in Windows settings or in SSAS?
    3. I am confused about my workspace database server as well, Do I have to install SSAS twice; one for development and one for workspace?
     Looking forward for the expert advise.
    Tahir
    Thanks, TA

    Hi,
    I suspect you might have more luck if you try the SSAS forum: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlanalysisservices
    Regards
    Jamie
    ObjectStorageHelper<T> – A WinRT utility for Windows 8 |
    http://sqlblog.com/blogs/jamie_thomson/ |
    @jamiet |
    About me

  • Problem installing Analysis Services in Tabular Mode

    I am trying to install Analysis Services in Tabular mode to a server where I have already installed Analysis services in Powerpivot mode and in regular mode.  I am following the instructions below and when I get to the screen below the tabular mode
    option is greyed out.  What do I need to do?
    http://blog.quasarinc.com/ssas/installing-sql-server-2012-analysis-services-tabular-mode/

    Hi Racand,
    Which editions of SQL Server 2012 you are using? The Tabular option is only available for Enterprise and Business Intelligence editions. Please refer to the link below to see the details.
    Features Supported by the Editions of SQL Server 2012
    If you have any questions, please point it out.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SSAS Tabular : MDX query goes OutOfMemory for a larger dataset

    Hello all,
    I am using SSAS 2012 Tabular to build the cube to support the organizational reporting requirements. Right now the server is Windows 2008 x64 with 16GB of Ram installed. I have the following MDX query. What this query does is get the member caption of the
    “OrderGroupNumber” non-key attribute as a measure where order group numbers pertain to a specific day and which occurs in specific seconds of a day. As I want to find in which second I have order group numbers, I cross the time dimension’s members with a specific
    day and filter the tuples using the transaction count. The transaction count is a non-zero value if an Order Group Number occurs within a specific second of a selected day.
    At present “TransactionsInflight].[OrderGroupNumber].[OrderGroupNumber]” has 170+ million members (Potentially this could grow rapidly) and time dimension has 86400 members.
    WITH
    MEMBER [Measures].[OrderGroupNumber]
    AS IIF([Measures].[Transaction Count] > 0, [TransactionsInflight].[OrderGroupNumber].CURRENTMEMBER.MEMBER_CAPTION,
    NULL)
    SELECT
    NON EMPTY{[TransactionsInflight].[OrderGroupNumber].[OrderGroupNumber].MEMBERS}
    ON COLUMNS,
    {FILTER(([Date].[Calendar Hierarchy].[Date].&[2012-07-05T00:00:00], [Time].[Time].[Time].MEMBERS),
    [Measures].[Transaction Count] > 0) } ON
    ROWS
    FROM [OrgDataCube]
    WHERE [Measures].[OrderGroupNumber]
    After I run this query it reaches to a dead-end and freezes the server (Sometimes SSAS server throws OutOfMemory exception but sometimes it does not). Even though I have 16GB of memory it uses all the memory and doing nothing. I have to do a hard-reset against
    the server to get the server online. Even I limit the time members using the “:” range operator still the machine freeze. I have run out of solutions to fine-tune the design. Could you guys provide me some guidelines to optimize this query? I am willing to
    do a design change if it is necessary.
    Thanks and best regards,
    Chandima

    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

  • 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".

  • SSAS Tabular - Adding Column to a table gives error "Object reference not set to instance of object"

    If I make changes to a table in SSAS Tabular Visual Studio, the newly added column gives error as "Object
    reference not set to instance of object"

    Hi VikasJain13,
    According to your description, you get the "Object reference not set to instance of object" error when adding columns in Tabular. Right?
    Generally, it throws this error when the internal code is accessing the property of an empty object. As you mentioned it happens when you make changes on a table, mostly it means that table is already a empty object. Please re-process your tabular to see
    if this table is still existing. 
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • SSAS Tabular in DirectQuery - What are the workarounds for formula limitations?

    Hello,
    I need to create an SSAS Tabular model against the database of a live, real-time, line of business transactional system (i.e. a CRM).
    The business requirement behind it is that we need to create some complex reports against live data, and our DW is only updated daily.
    This live model will however be partitioned with a time-variance limitation (e.g. only records which are XX old can be returned).
    Now here is the challenge. Since I am querying live data, then I believe the model must be configured in DirectQuery model. Am I right?
    The issue is that DirectQuery mode is full of formula limitations. So my concern is, if I need a calculated column or measure that I cannot make it work due to DirectQuery limitations, then what are the alternatives?
    Remember that the data source is from a live system, so it is not like I can create columns and measures in the underlying relational database.
    Please advise.
    Regards,
    P.

    Hi pmdci,
    According to your description, you want to use some functions in calculated measure which are not supported in DirectQuery mode. Right?
    In Analysis Services Tabular, since DirectQuery has the real time access and scalability, this comes with a price of restrictions on a number of DAX functions and missing Calculated Column feature. Generally the workaround for these scenarios
    is replacing those functions with other functions which are supported in DirectQuery mode, or create columns in the data source. However, as you said, your environment is not possible to create columns in the database. And a lot of those limited
    function are not replaceable, like time intelligence functions. So actually, there's no really effective workaround currently.
    For you requirement, I suggest you submit Microsoft a feature request
    at https://connect.microsoft.com/SQLServer
    so that we can try to modify and expand the product features based on your needs.
    Best Regards,  
    Simon Hou
    TechNet Community Support

  • 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

  • SSAS Tabular: Handling time datatypes

    Folks,
    I have two dimensions related to time in my DW. One is for dates (dDate), and another which is for the time of the day (dTime), with the granularity set to minutes (we don't care for seconds).
    Here is the code for creating my dTime table:
    CREATE TABLE dTime (
    [timekey] smallint, --NOT SURE ABOUT THIS SEQUENCE AS THE PRIMARY KEY ** MUST REVIEW **
    [Hour of Day (24)] tinyint, --0-23, military/European time
    [Hour of Day (12)] tinyint, --1-12, repeating for AM/PM, for us American types
    [Meridien] char(2), --AM/PM
    [Minute of Hour] tinyint, --the minute of the hour, reset at the top of each hour. 0-59
    [Half Hour] tinyint, --1 or 2, if it is the first or second half of the hour
    [Half Hour of Day] tinyint, --1-24, incremented at the top of each half hour for the entire day
    [Quarter Hour] tinyint, --1-4, for each quarter hour
    [Quarter Hour of Day] tinyint, --1-48, incremented at the tope of each half hour for the entire day
    [Time String (24)] char(5), --military/European textual representation
    [Time String (12)] char(5), --12 hour clock representation sans AM/PM
    [Time Value] time(0), --Time in 00:00:00 T-SQL time datatype
    CONSTRAINT PK_dTime_timekey PRIMARY KEY CLUSTERED (timekey)
    GO
    For the sake of completion, I have recently added a time(0) field to my table. I am creating an SSAS tabular model based on data from this DW. However, it comes to my attention that SSAS in Tabular mode does not handle time-only fields. Is that correct?
    Could someone please advise?
    Best Regards,
    P.

    Multidimensional and Tabular are different.
    Tabular has a dictionary for every column, so there is only one data type (datetime) that contain both. If you have a TIME data type in SQL, it is automatically imported in the right way and assigned to a date in the past (1/1/1900 or something similar).
    In order to optimize the column, lower the number of unique values. If you don't need seconds, round to the minute.
    Marco Russo (Blog,
    Twitter,
    LinkedIn) - sqlbi.com:
    Articles, Videos,
    Tools, Consultancy,
    Training
    Format with DAX Formatter and design with
    DAX Patterns. Learn
    Power Pivot and SSAS Tabular.

  • SSAS Tabular - placing single measure in Excel is fast, multiple from same table is slow?

    With SSAS Tabular using Excel:
    If I place a single measure MyMeasure:=SUM([ColumnNameOnFactTable])
    it happens very quickly.
    I have 3 other dimensions from 3 other dimension tables on Excel with this "MyMeasure" as the value.
    YearMonth in the columns and say Department ID, Account ID, and Call Center (just all made up for this example).
    Now, when I place a second measure from that same table as "MyMeasure" call it SecondMeasure:SUM([AnotherColumnNameOnFactTable]) the OLAP query in Excel spins, and sometimes even throws the out of memory error.
    The server has 24 GB of RAM, and the model is only a few hundred megs.
    I assume something must be off here? 
    Either I've done something foolish with the model or I'm missing something?
    EDIT:
    It SEEMS to work better if I place all y measures on the Excel grid first, then go and add my "dimensions", adding the measures after the dimensions appears to incur a rather steep penalty?
    Number of rows:
    Largest table (account ID lookup has 180,000)
    Fact table has 7,000
    The others are 1,000 or less...

    Hi,
    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. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Use SSAS Tabular KPI in SSRS report with groups

    I have a SSAS tabular model that I have built KPIs in. I have tried several attempts to use the KPI in SSRS with multiple groups, but as you probably know when you aggregate the KPI it does not calculate correctly. How do you use SSAS KPIs with SSRS groups?
    Thanks in advance.

    Hi Micheal,
    According to your description, you want to use the KPI created in SSAS tabular for SSRS multiple groups. Right?
    In Analysis Services, when we create KPI, it works for each detail record. This KPI will not consider any aggregation value. So when you aggregate the KPI in SSRS, it can't return correct result. However, in Reporting Services, you can use Variable
    to define a "KPI" and apply condition with aggregation function(like sum, average) based on this "KPI" in Expression to return the correct result. Also you can use the Indicator in SSRS to achieve this requirement. Please refer to
    links below:
    Report and Group Variables Collections References (Report Builder and SSRS)
    Indicators (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Date dimension reachability in Tabular mode

    I'm recreating my multidimensional cube in Tabular mode.
    My primary entities are Invoice and Shipment.  Shipment being all the items that were shipped with a carrier and billed on a particular Invoice.  Every Invoice has a Billed Date. A common query pattern is to use Bill Date when filtering for Shipment
    Fact aggregration.  In multidim, the date gets associated with the Shipment facts by going through Invoice.
    How do I do that in Tabular?
    How Multidim is setup:
    The output of Tabular:

    Hi Vince,
    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. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Migrated data from Powerpivot to SSAS tabular model, can i change the Excel source to SSAS?

    Hi
    I have developed some powerview reports in  Excel/powerpivot files. Now, i have migrated powerpivot data from these files to SSAS tabular cubes. The question is if i can change the source of the Excel files, to "feed" my powerview reports
    with these SSAS Tabular cubes, or do i have to create my powerview reports again via new Excel files or PowerBI designer (and "point" these to SSAS Tabular cubes). It totally seems not logical and so i think that's a good question.
    Kind regards

    Hi Pascal,
    Power View only supports Microsoft BI Semantic Model (BISM) for Power View data sources. BISM files are designed specifically for connecting to Excel workbooks and SSAS tabular models. The Excel workbooks can be in the PowerPivot Gallery on a SharePoint
    site or in a SharePoint library. In this issue, you can publish the PowerPivot workbooks to a SharePoint library or the PowerPivot Gallery, and then create RSDS file or BISM data source to the workbooks. Here are the connection string samples:
    An Excel workbook in Shared Documents on a SharePoint site:
    Data Source=”http://<SharePointSite>/Shared Documents/MyExcelWorkbook.xlsx”
    An Excel workbook in the PowerPivot Gallery on a SharePoint site:
    Data Source=”http://<SharePointSite>/PowerPivot Gallery/MyExcelWorkbook.xlsx”
    Reference:
    http://office.microsoft.com/en-us/excel-help/create-a-connection-to-a-data-model-for-power-view-HA102835737.aspx?CTT=5&origin=HA102834736
    Regards, 
    Mike Yin
    TechNet Community Support

Maybe you are looking for

  • Unable to create PR with Service Line & also no entry in ESLH table using

    Hi Experts, I am using BAPI => BAPI_REQUISITION_CREATE to create PR and it is successful to create PR but when I try to create PO is become fail (proably missing entry in ESLH table). Now my requirement is to create PR with Service Line and an entry

  • Where can i get the documentation for 9i DB Data Dictionary (all)

    Friends, I try to find the Oracle 9i Data Dictionary Documentation in the oracle document list. But i didnt find it. can anybody point me to the particular page or pdf? I need all the Data Dictionary details with explanation. is it available somewher

  • Unable to trade SouthPark for Xbox 360

    It looks like the incorrect item was added to the trade in website. Only the Grand Wizard edition is listed. I was unable to trade in the game last night as the UPC of the game is not the same as the UPC for the CE edition. Could someone please add t

  • CVS  files checked out- import problem

    Hi all, when I update a project using CVS, in 9i the tool used to prompt me like 'do you want to open new files in active project?' in 10i it doesn't , so when I create and deploy wars the new files sometimes are missing. do you know any workaround?

  • MIDP emulator with support for initiating a dial up connection to a RAS

    Hi, Is it possible to emulate the OTA installation via HTTP on an emulator ? I would like to execute some of the test cases for MIDlet downloads on my laptop having Windows 2000. If I understand it right it would either need to interface Windows' TCP