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

Similar Messages

  • Combine 2 Queries (from SAME table) into a SINGLE query

    I have this two queries (from SAME table), and want to combine into one SINGLE query, how?
    How can we use CASE WHEN THEN for such situation? 
    Query1:
    SELECT t_inner.*,
    Floor(t_inner.ProductiveTime/ 3600) || 'hr:' || LPAD(Floor(Mod(t_inner.ProductiveTime,3600) / 60),2,0) || 'min:' AS Productive_Time,
    Floor(t_inner.OperatorDownTime/ 3600) || 'hr:' || LPAD(Floor(Mod(t_inner.OperatorDownTime,3600) / 60),2,0) || 'min:' AS OperatorDown_Time
    FROM
    (SELECT SYSTEMTYPE,
    sum(TIME_TEST + TIME_STEP) AS ProductiveTime,
    sum(TIME_IDLE) AS OperatorDownTime
    FROM PFODS.PPL_TESTSYSTEMS_UTILISATION
    WHERE (SYSTEMTYPE = '0005-072')
    AND (TS_START >= to_date('13/01/2014', 'DD/MM/YYYY'))
    AND TS_End <= to_date('17/01/2014', 'DD/MM/YYYY') + 1 + (1/1440) +(59/86400)
    AND MONO != '9999999999'
    GROUP BY SYSTEMTYPE ) t_inner
    Query 2:
    SELECT t_inner.*,
    Floor(t_inner.MachineDownTime/ 3600) || 'hr ' || LPAD(Floor(Mod(t_inner.MachineDownTime,3600) / 60),2,0) || 'min' AS MachineDown_Time
    FROM
    (SELECT SYSTEMTYPE,
    sum(TIME_IDLE) AS MachineDownTime
    FROM PFODS.PPL_TESTSYSTEMS_UTILISATION
    WHERE (SYSTEMTYPE = '0005-072')
    AND (TS_START >= to_date('13/01/2014', 'DD/MM/YYYY'))
    AND TS_End <= to_date('17/01/2014', 'DD/MM/YYYY') + 1 + (1/1440) +(59/86400)
    AND MONO = '9999999999'
    GROUP BY SYSTEMTYPE) t_inner
    see http://postimg.org/image/koq87iyyz/  and
    http://postimg.org/image/fv3zxa38n

    with the first query, 
    SELECT t_inner.*,
    Floor(t_inner.ProductiveTime/ 3600) || 'hr:' || LPAD(Floor(Mod(t_inner.ProductiveTime,3600) / 60),2,0) || 'min' AS Productive_Time
    FROM
    (SELECT SYSTEMTYPE,
    --sum(TIME_TEST) AS TIME_TEST,
    --sum(TIME_SYSTEM) AS TIME_SYSTEM,
    --sum(TIME_STEP) AS TIME_STEP,
    --sum(TIME_IDLE) AS TIME_IDLE,
    sum(TIME_TEST + TIME_STEP) AS ProductiveTime
    FROM PFODS.PPL_TESTSYSTEMS_UTILISATION
    WHERE (SYSTEMTYPE = '0005-072')
    AND (TS_START >= to_date('13/01/2014', 'DD/MM/YYYY'))
    AND TS_End <= to_date('17/01/2014', 'DD/MM/YYYY') + 1 + (1/1440) +(59/86400)
    AND MONO != '9999999999'
    GROUP BY SYSTEMTYPE) t_inner
    it gives output as from 
    http://postimg.org/image/koq87iyyz/
    with the second query,
    SELECT t_inner.*,
    Floor(t_inner.MachineDownTime/ 3600) || 'hr ' || LPAD(Floor(Mod(t_inner.MachineDownTime,3600) / 60),2,0) || 'min' AS MachineDown_Time
    FROM
    (SELECT SYSTEMTYPE,
    sum(TIME_IDLE) AS MachineDownTime
    FROM PFODS.PPL_TESTSYSTEMS_UTILISATION
    WHERE (SYSTEMTYPE = '0005-072')
    AND (TS_START >= to_date('13/01/2014', 'DD/MM/YYYY'))
    AND TS_End <= to_date('17/01/2014', 'DD/MM/YYYY') + 1 + (1/1440) +(59/86400)
    AND MONO = '9999999999'
    GROUP BY SYSTEMTYPE) t_inner
    it gives output as from 
    http://postimg.org/image/fv3zxa38n/
    I want to come those 2 queries into a single query, such that it gives both outputs as above. Let me know if you need any other information. thanks.

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

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

  • Excel SSAS Tabular error: An error occurred during an attempt to establish a connection to the external data source

    Hello there,
    I have an Excel report I created which works perfectly fine on my dev environment, but fails on my test environment when I try to do a data refresh.
    The key difference between both dev and test environments is that in dev, everything is installed in one server:
    SharePoint 2013
    SQL 2012: Database Instance, SSAS Instance, SSRS for SharePoint, SSAS POWERPIVOT instance (Powerpivot for SharePoint).
    In my test and production environments, the architecture is different:
    SQL DB Servers in High Availability (irrelevant for this report since it is connecting to the tabular model, just FYI)
    SQL SSAS Tabular server (contains a tabular model that processes data from the SQL DBs).
    2x SharePoint Application Servers (we installed both SSRS and PowerPivot for SharePoint on these servers)
    2x SharePoint FrontEnd Servers (contain the SSRS and PowerPivot add-ins).
    Now in dev, test and production, I can run PowerPivot reports that have been created in SharePoint without any issues. Those reports can access the SSAS Tabular model without any issues, and perform data refresh and OLAP functions (slicing, dicing, etc).
    The problem is with Excel reports (i.e. .xlsx files) uploaded to SharePoint. While I can open them, I am having a hard time performing a data refresh. The error I get is:
    "An error occurred during an attempt to establish a connection to the external data source [...]"
    I ran SQL Profiler on my SSAS Server where the Tabular instance is and I noticed that every time I try to perform a data refresh, I get the following entries:
    Every time I try to perform a data refresh, two entries under the user name ANONYMOUS LOGON.
    Since things work without any issues on my single-server dev environment, I tried running SQL Server Profiler there as well to see what I get.
    As you can see from the above, in the dev environment the query runs without any issues and the user name logged is in fact my username from the dev environment domain. I also have a separated user for the test domain, and another for the production domain.
    Now upon some preliminary investigation I believe this has something to do with the data connection settings in Excel and the usage (or no usage) of secure store. This is what I can vouch for so far:
    Library containing reports is configured as trusted in SharePoint Central Admin.
    Library containing data connections is configured as trusted in SharePoint Central Admin.
    The Data Provider referenced in the Excel report (MSOLAP.5) is configured as trusted in SharePoint Central Admin.
    In the Excel report, the Excel Services authentication settings is set as "use authenticated user's account". This wortks fine in the DEV environment.
    Concerning SecureStore, PowerPivot Configurator has configured it the PowerPivotUnnattendedAccount application ID in all the environments. There is
    NO configuration of an Application ID for Excel Services in any of the environments (Dev, test or production). Altough I reckon this is where the solution lies, I am not 100% sure as to why it fails in test and prod. But as I read what I am
    writing, I reckon this is because of the authentication "hops" through servers. Am I right in my assumption?
    Could someone please advise what am I doing wrong in this case? If it is the fact that I am missing an Secure Store entry for Excel Services, I am wondering if someone could advise me on how to set ip up? My confusion is around the "Target Application
    Type" setting.
    Thank you for your time.
    Regards,
    P.

    Hi Rameshwar,
    PowerPivot workbooks contain embedded data connections. To support workbook interaction through slicers and filters, Excel Services must be configured to allow external data access through embedded connection information. External data access is required
    for retrieving PowerPivot data that is loaded on PowerPivot servers in the farm. Please refer to the steps below to solve this issue:
    In Central Administration, in Application Management, click Manage service applications.
    Click Excel Services Application.
    Click Trusted File Location.
    Click http:// or the location you want to configure.
    In External Data, in Allow External Data, click Trusted data connection libraries and embedded.
    Click OK.
    For more information, please see:
    Create a trusted location for PowerPivot sites in Central Administration:
    http://msdn.microsoft.com/en-us/library/ee637428.aspx
    Another reason is Excel Services returns this error when you query PowerPivot data in an Excel workbook that is published to SharePoint, and the SharePoint environment does not have a PowerPivot for SharePoint server, or the SQL Server Analysis
    Services (PowerPivot) service is stopped. Please check this document:
    http://technet.microsoft.com/en-us/library/ff487858(v=sql.110).aspx
    Finally, here is a good article regarding how to troubleshoot PowerPivot data refresh for your reference. Please see:
    Troubleshooting PowerPivot Data Refresh:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    Hope this helps.
    Elvis Long
    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

  • SSAS Tabular DAX- Need to get MAX value of the MIN (top)hierarchy level row

    EDIT:
    I got closer to resolving the issue using MAX. 
    However, If I remove the department hierarchy and just place on the MAX measure I get the single largest value out of all departments. 
    It would be ideal if the measure could still SUM the "top level" values across everything in the system if the hierarchy is not placed on the rows grouping.
    So it returns the largest value for a given department, but if the department hierarchy isn't present I need it to return a SUM of all the level 1 values for all departments...
    Basically return MAX value from the MIN L1ID's DeptLevel value, but I can't seem to construct that DAX query.  So if DepartmentID hierarchy is on display it gets MAX per row, but if that is removed it dips into MAX GoalValue for each L1ID grouping with
    the MIN DeptLevel.
    /EDIT
    I have a rather odd data table I'm bringing into a SSAS Tabular model.
    Instead of having all data at each child level and then it adding up to a grand total in the parent, it has a grand total predefined at each child level.
    I just need this tool to display the raw data if at all possible instead of trying to aggregate everything. Filter on active level, ignore child levels.
    Is there a way to do that?
    Example:
    SalesGoalsByDepartmentLevel:
    Level1 (top level) = 5,000
    Level2( lower level) = 0
    Level3(lower still) = 500
    Level 4(lowest) = 4,250
    So note that adding up all the child levels is still $250 shy of the top 5,000.
    IT is just an odd business rule, basically each level is expected to meet that goal or exceed it, the top level goal is 5,000 but management doesn't care where that last 250 comes from, they do are that each defined level is met.
    These levels are in a hierarchy so if I view the top level of the hierarchy it adds up to 4250+500+5000=9750 when I just want to see 5,000 at the top level and the details when they drill down.
    I added a filter to just filter to the top level, but then when I drill down of course those lower levels are blank.
    Is there a way to filter on the current displayed level without aggregating all child levels?
    Thanks!

    You might want to take a look at the Parent-Child Hierarchies pattern here:
    http://www.daxpatterns.com/parent-child-hierarchies/
    You might write DAX code to check what is the "current" level (see BrowseDepth measure in the sample file you can download) and depending on its level, se the filter to blank to all the levels below, so you don't aggregate "children".
    Just an idea, I'm not sure if it corresponds to your requirement and I don't have time to make more tests.
    I hope it will be helpful.
    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: 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

  • Related column of a fact table - SSAS Tabular

    Hi,
    I'm developing a SSAS Tabular model using a SQL Server 2012 SP 1 installation.
    For a fact table I've created some calculated columns using the DAX RELATED function. These columns not are hidden to client tools. When I deploy the project and I open an Excel workbook in order to connect the SSAS Tabular cube, in the field list I cannot
    see the calculated columns by RELATED function.
    For me, this in an issue and not a normal behaviour.
    Any suggests to me, please? Many thanks

    Hi Pscorca,
    Generally, if we create a calculated column on SQL Server tabular model database on SSMS, and then go to Model-> Process -> Process All and finish the data processing. Then when we connect the database in EXCEL, the calculated column will appear on
    the Excel. In your scenario, you cannot see the calculated columns. It’s strange behavior. However we cannot give you the detail reason for this issue base on the limited information.  Please refer to the link below which describe the detail steps about
    create a calculated column, then check whether if you missing any step when creating calculated column.
    Add Calculated Column and Measures to Tabular Model
    If the issue persists, please elaborate your production environment and the steps to create the calculated column, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Evaluation of hw features of a machine hosting a SSAS Tabular model

    Hi,
    on a machine I've deployed a SSAS Tabular model that has two fact tables having each 200-300 millions of rows, and about 10-15 dimension tables. I've implemented some Excel workbooks, each of them queries one measure of one of the two fact tables.
    Each workbook has 10-15 filters/slicers. I've tried some times to reduce the number of filter/slicer or of row expansion and I've registered a query response time from 5 to 15 seconds for a change selection for a filter/slicer. 15 seconds is a time too high
    for the user requirements.
    The formula for the two measures has some SUMs and DIVIDEs. In order to improve the query performance I've tried to write the formula in different manners and I've created partial calculations in the underlying dwh but with negligible performance improvements.
    Cutting filters or slicers or row expansions is against the user requirements.
    I've also captured some Profiler traces but with few indications.
    I suspect that a possible issue derived from the hw features of the hosting machine. During the use of the pivot table the usage of memory is about 50-60% and the usage of CPU is 80-100%.
    With the CPU-Z program I've captured the hw features:
    I hope in any suggests deriving from the experiences and not from some papers, fe "Performance Tuning of Tabular Models in SQL Server 2012 Analysis Services", in order to improve the query performance from Excel connected to my tabular model.
    Probably, the CPU features are not appropriate.
    Many thanks

    Hi Pscorca,
    Based on your description, you want to if it is best practice for improve the query performance in hardware level by increase RAM or CPU. In this case, here are some document about it, please refer to the links below which might helpful for you.
    Forcing NUMA Node affinity for Analysis Services Tabular databases
    SSAS Tabular – NUMA and CPU Cores Performance
    Regards,
    Charlie Liao
    TechNet Community Support

  • Data loaded to Power Pivot via Power Query is not yet supported in SSAS Tabular Cube

    Hello, I'm trying to create a SSAS Tabular cube from a data loaded to Power Pivot via Power Query (SAP BOBJ connector) but looks like is not yet supported.
    Any one tried this before? any workaround that make sense?
    The final goal is pull data from SAP BW, BO Universe (using PowerQuery) and be able to create a SSAS Tabular cube.
    Thanks in advance
    Sebastian

    Sebastian, 
    Depending on the size of the data from Analysis Services, one work around could be to import the data into into Excel and then make an Excel table and then use the Excel table as a data source. 
    Reeves
    Denver, CO

  • 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

  • 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

  • Designing database structure and SSAS Tabular Model cubes

    Hi.
    I need to design a database and SSAS tabular models for my clients but I am confused which way I should implement it.
    Data for all the clients is stored into a single database with unique ClientId for each client, such 15 tables I have under a single database which stores information about all the clients.
    Task is to create a SharePoint Site collection for each client which will display Power View Dashboard by taking data from above database.
    Till now I have created a SSAS Tabular Model for each client, XClientModel, YModelClient  using BIDS and using SQL Queries to extract data for respective clients(select * from Table1 where ClientID="X") and using Power View external connection
    to this model, have created Dashboard and other SharePoint information.
    I am not sure if creating different Model is suitable or I should first separate data for each client into separate database and then create Model based on respective client's database.
    Can Some one highlight pros and cons on using 
    SINGLE database with Multiple Tabular Model (One with Many) AND Separate Database with it's Model(One to One) ?
    This is understandable but just putting it here........Imp Note: Data for X client shouldn't be visible to Y client on SharePoint.
    Please let me know if further information is required.

    Hi Sgms,
    In your description, you said that all the clients information were stored in a single database, now you want to know which method is better, single database with Multiple Tabular Model or separate database with it's Model?
    In your scenario, all the information were stored in a single database, why do you want to separate it or create multiple tabular model? If you create multiple model, then you need change the data source to create PowerView dashboard for each client. As
    per my understanding, you just need create one tabular to load all the information. And then use this model to create PowerView dashboard. Using filter to display the information for each client.
    Reference:
    Lesson 1: Create a New Tabular Model Project
    Filtering, Highlighting, and Slicers in Power View
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Need help ASAP - SSAS Tabular error has me stumped and others' solutions do not apply in this case.

    Hello everyone,
    Here's hoping no one will consider this to be the wrong forum. The data source is an Access database, but the issue is an SSAS Tabular issue. Kind of desperate here... the customer needs this ASAP, and I've been trying to resolve this for a week
    already! Any help would be much appreciated!
    A customer of mine (another employee of the ComIT department) is receiving an error trying to open an Access database via SQL Data Tools.
    The error is "OLE DB or ODBC error: The Microsoft Access database engine cannot open or write to the file '\\[our_domain]\[the_path_to_the_file]\[database_name].accdb'. It is already opened exclusively by another user, or you need permission
    to view and write its data.; 3051."
    What perplexes me is that I do not receive this error, my coworkers on the DBA team do not receive this error, and our boss does not receive this error--even on the customer's machine. But the customer gets this error every single time.
    The only difference is the credentials provided on the "Impersonation Information" window.
    Here is our process:
    We open SQL Data Tools, we create a new Analysis Services Tabular Project, we select the workspace server (our Analysis Services server... db5079\tabular) and test connection ("Test connection succeded") and click OK.
    Then we click "Import From Data Source," select "Microsoft Access," enter the full network path to the database and test connection ("Test connection succeeded")
    The next window says "Impersonation Information - Specify the credentials used by the Analysis Services server to connect to the data source when importing and processing data"
    The credentials provided at this point is the only difference between me/my team/our boss and the customer. If we use our own credentials at this point--even on the customer's machine--we receive no error and everything is fine.
    If we use the customer's credentials, we get the error above at the end of the next step (i.e., after we choose the data to import and then click Finish).
    So that's it. On the same machine, the customer's credentials produce this error, and our credentials do not.
    I have already added the customer as a server administrator to the Analysis Services server (db5079\tabular).
    Copying the data source to another folder on the network or to his local machine produces the same results: his credentials produce the error, my credentials/my boss's credentials/etc. do not.
    All of our machines are 64 bit, and the Analysis Services server is 2012 64-bit.
    Please help!

    UPDATE: As it turns out, all those who were able to import the data were local administrators on the Analysis Server (i.e., on the OS), and all those who were unable to import data were not.
    When we added someone who couldn't import the data to the local Administrators group on the Analysis Server, they were able to import the data.
    However, we can't give them local admin on the Analysis Server, and we are unable to determine what combination of user rights and permissions on folders we can grant the user as individual that will allow them to import the data.
    Just as a test, we tried giving the user the same user rights that the admin group has, and the same permissions on all the drive as the admin group has, but that didn't work.
    If it had worked, we could have started reducing the rights until we found the minimum necessary, but it didn't and once again we're stuck.
    Please help!

Maybe you are looking for