Question on Tabular Model 2012

Hi,
I need to hide certain columns for a user group but the same columns should be visible for another user group in the same model. The out of the box 'row level  security' would not work for this requirement. I tried a modelling technique, by bringing
the 'hidden fields' to a table using the 'Blank' DAX function in a 'role' on the table that contains the hidden fields, but this hides all tables related to the table that contains the hidden fields.
As a last resort I am creating two models (1) model one with all fields visible (2)  model two will hide certain fields. Basically model 2 is a copy of model 1, only certain fields in model 2 will be hidden.
To avoid reading the source data twice I am planning to update the model 1 and then synchronize model 1 with model 2 ( the one with hidden fields).  My gut feeling is that if I synchronize model 1 with model 2, all the hidden fields in model 2
will become visible, as the metadata in model 2 will be updated with metadata of model 1.
As the number of users would be in hundreds, implementing a complex security layer might impact the performance if we try and implement such security on the same model.
It would be great if anybody can share thoughts on the probable solution and if the approach to 'synchonize' both the models would work.
Thanks
Bidyut
A**LE

Hi Bidyut,
According to your description, you want to implement dynamic security for two group users, right? In SQL Server Analysis Services Tabular model, we can implement dynamic security using an external security table but we can integrate this security table into
the existing tables based on particular source data at production implementations. So in your scenario, you can store the users' information on an external table, and then implement the security through this table. Here is a blog which describes how to implement
it step by step, please see:
SSAS – Tabular Dynamic Security
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • SSAS Tabular Model and browse with MS Excel 2013

    I have a tabular model, It has an attribute with datatype and data format as "whole number". When I browse the model from excel and add label filter, it
    does not work as expected.
    When I specify greater than 180 as label filter, It gives following output:
    My guess is that it is just filtering on first two digits "18" and not "180". When I copy these values in a excel sheet and create pivot table on top of it, hell it works fine.
    Is this a microsoft bug? have you encountered something like this or I am doing some thing wrong?
    I am using tabular model 2012 and excel 2013 or 2010.
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

    Hi Itz,
    According to your description, the filter not works fine in excel for a SQL Server Analysis Services Tabular models, right?
    I have tested it on the local environment, we cannot reproduce this issue. As per my understanding, this issue is related to the settings of your tabular model. Does this issue can be reproduce in multiple servers in your environment? In that is
    case, from a support perspective this is really beyond what we can do here in the forums. If you cannot determine your answer here or on your own, consider opening a support case with Microsoft. Visit this link to see the various support options that are available
    to better meet your needs:
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Besides, if you consider this issue is a bug, you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback Microsoft will confirm if this issue is a bug or not. 
    Regards,
    Charlie Liao
    TechNet Community Support

  • Dates Appearing in Tabular Model but not appearing on Pivot table

    Hi all,
    I am using SSAS tabular Model 2012, in tabular model all dates are appearing correct in date column but not when i drag attribute to my pivot table it shows only one date. Does anyone has the solution of this issue.
    Regards,
    Piyush

    Hi Piyush0308,
    According to your description, you have date column displayed all dates correctly in Tabualr. When showing in a Excel Pivot table, it only get the first date. Right?
    In this scenario, firstly please check the source table data in database, then make sure the data type of this column is Date in Tabualr. In Excel, please make sure there's no aggregation setting on this field. As I tested in our local environment, it should
    display same thing in tabular.
    If the issue still persists, please share some information about your date table so that we have some deep analysis.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Tabular model column rename with special characters - ), *, /, +, %, [ etc

    I am working in tabular model 2012. I have requirement to rename the column names with special characters like ), *, /, +, %, [ etc. When I try to rename in my model, it gives me below error:
    I also tried renaming the columns after creating a new test model with no luck. I may have lived with this error however we have another tabular model which contains special charaters in the name. This makes me believe that there must be some setting that
    I am missing.
    I tried changing the column name in other model having some special characters and it takes it.
    I have gone through this link#
    https://connect.microsoft.com/SQLServer/feedback/details/802009/ssdt-ssas-tabular-column-name-with-special-characters
    and
    http://msdn.microsoft.com/en-us/library/gg492144(v=sql.110).aspx which says that special characters are not allowed in column names however I am able to do it in one of our
    models then why not others.
    Any help is appreciated! Thank you for you time.
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

    Well Mr. Google helped me.. I got the solution:
    Databases of a specific modality and compatibility level can have object names that include reserved characters. Dimension
    attribute, hierarchy, level, measure and KPI object names can include reserved characters, for tabular databases (1103 or higher) that allow the use of extended characters.
    How to change the compatibility, just right click on the .bim file from SSDT and go to properties and change the compatibility to 1103. 
    I hope this will help someone. :-)
    Useful MSDN Links: 
    http://msdn.microsoft.com/en-us/library/bb522632.aspx
    http://msdn.microsoft.com/en-us/library/jj674204.aspx
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • Analysis Services Tabular Model 2014 vs 2012

    Hi,
    A very simple question : with the same tabular model is 2014 faster than 2012 from query point of view (is the Storage Engine or Formula Engine faster than the previous version ) ?
    Thanks 

    Hi MIB1,
    According to your description, you want to know if the SSAS 2014 tabular model has better performance than SSAS 2012 tabular. Right?
    With exception to added functionality supporting Power View Reports against Multidimensional Models, SQL Server 2014 Analysis Services is unchanged from the previous release. There's nothing improvement on SSAS tabular.
    Reference:
    What's New in Analysis Services and Business Intelligence
    If you have any question, please feel free to ask.
    Regards, 
    Simon Hou
    TechNet Community Support

  • Error during the attach of a Tabular model - SSAS 2012

    Hi,
    I've changed the DataDir for a SSAS Tabular instance by specifying another drive letter and a path like "E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data".
    After the restarting of the SSAS service I'm trying to attach the tabular model but when I select a folder I've an error about the specified folder is not valid because it doesn't correspond to the naming convention.
    How can I solve this issue, thanks?

    Hi pscorca,
    After you rename the "DataDir" path for SSAS Tabular instance, please copy Tabular database files to the new location(E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data). Then, please follow the steps below:
    Right-click on the Tabular model instance-> Properties, switch to "General" page.
    Select "Show Advanced(All) Properties" option, and then set the following value for "AllowedBrowsingFolders" property.
    C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR2\OLAP\Backup\|C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR2\OLAP\Log\|C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR2\OLAP\Data\|E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data
    Restart SSAS Tabular instance.
    When you attach a Tabular database, please select the corresponding database which under "E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data" path.
    Please let me know if you have any questions.
    Regards,
    Elvis Long
    TechNet Community Support

  • Tabular Model question

    Hi,
    I'm starting to use SSAS tabular mode and have a question.
    I created a model and named it Subscriptions and was now making a report to query it. However it was deployed as Model. I went to the project properties and noticed that the Cube Name was set to Model.
    This means that I can only have 1 model per SSAS Tabular project? I tried to add a new Tabular model and it says I can only have 1 bism file in a project.
    Thanks

    It's a balance. Fact tables or subject areas that will be queried together or side by side should be in the same model. Unrelated subject areas can go in a different database if you like. Yes, you are balancing duplicating dimensions across several models
    with the complexity of managing one huge model.
    http://artisconsulting.com/Blogs/GregGalloway

  • SSAS 2012 Tabular Model Restarting

    Hello,
    We are having tabular model cube which is of 40GB. Every day we are processing this cube via SSIS, before processing it we are restarting the SSAS service(from scripttask) so that it will clear memory and cache.
       But most of the time service restating is not happening properly and package is getting failed. Thereafter we need to start service manually and then again we need to run the package.
    My question :
      • Restarting SSAS service every day is really good practice ?
      • Apart from restarting service what other approach is there? 
    Awaiting for your reply!
    Thanks and Regards,
    Santhosh Shasthri M R
        

    Hi Santhosh,
    You can troubleshoot why service restating is not happening properly by using the msmdsrv.log. Are there any error message on the log? Under C:\Program Files\Microsoft SQL Server\MSAS11.\OLAP\Log (this could be different for your server), there are 3 log
    files that are generated:
    msmdrrv.log
    FlightRecorderCurrent.trc
    FightRecorderBack.trc
    The msmdrrv.log simply points to the other two logs. There might be some detail information for this error.
    Besides, I don't think you need to resrart the server to clear memory and cache. You can clear Analysis Services caches with SSIS task by using  XMLA command, and run this package before run package to process cube.
    http://consultingblogs.emc.com/jamiethomson/archive/2006/07/07/SSAS_3A00_-Clearing-the-Analysis-Services-cache.aspx
    http://technet.microsoft.com/en-us/library/hh230974.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Using IF or SWITCH functions inside a DAX formula into a tabular model - SSAS 2012

    Hi,
    in a tabular model I've changed a DAX formula introducing the SWITCH function, but when I deploy the changed formula and open the Excel workbook the slicer connected to the pivot table doesn't highlight the slicer values involved as instead of old formula.
    Any suggests to me in order to maintain the right behaviour for the slicers when a formula is re-written using an IF/SWITCH functions, please?
    Thanks

    I think that is the default behaviour and I can find a few justifications for it too...
    For eg, if you have a complex IF condition, the measure will have to be evaluated for each value of the slicer for correctly finding the right values in the slicer to highlight, and that can make it REALLY slow.
    Also, sometimes there is no correct values to highlight. For eg, if I have the products in the slicer and have a condition like
    =IF(HASONEVALUE(Product[Product]),1)
    then which Product should be highlighted? There is no correct value as any one of the Product selected on it's own will display value for the measure. And more than one products selected will display no value. So no matter what you display/highlight on the
    slicer, there is no "correct" behaviour. In such a case, it is best left to display/highlight all values.
    Cheers,
    Jason | www.SqlJason.com
    P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)

  • Processing Tabular Model

    1  We are developing a Tabular Model. In this model there are likely to be about 15 dimension tables and 2 main fact tables.
    2  One of the fact tables is very large approximately 70 million rows and will increase to 150 million rows in about 2-3 years time.
    3  So on the cube we have created partitions and are using the incremental processing. What we have done is to create a partition definition table header and lines. At the header level we will store the name of the measure group on which we wish to
    create partitions, and in the lines table we will create the definition of each partition. Using an sp we will mark of those rows of the partition lines which we wish to reprocess. Such partitions will be dropped and recreated. So far this is working well.
    4  I want to generalize this solution so that I works across different projects without any changes.
    Now I have two questions :
    Question 1 :
    If I make changes in the tabular project and deploy the same, I believe all partitions will get deleted and all the data will need to be pulled in again. This will happen even if I add a calculated measure. Is there any method to overcome this ?
    Question 2 :
    What is the mechanism of only processing certain measure tables incrementally and all other tables fully ? In my above example only one table has partitions. So if I want to process only the current partition of that table, and all other tables how do I
    achieve this ?
    Sanjay Shah
    Prosys InfoTech, Pune, India

    1) if you only add a measure or a calculated column, you do not need to read data from data source. If you have problem with deployment within VS, consider using Deployment Wizard.
    2) A complete description of process strategies is included in a chapter of our book (http://www.sqlbi.com/books/microsoft-sql-server-2012-analysis-services-the-bism-tabular-model).
    In general, you can control which partition/tables you want to process and in which way, using XMLA scripts, PowerShell and other tools. The easiest way to create an XMLA script is using the Generate Script feature in SSMS when you use the process wizard.
    Marco Russo http://ssasworkshop.com http://www.sqlbi.com http://sqlblog.com/blogs/marco_russo

  • Case (Sensitivity) changes between Data Mart and Tabular Model

    DM.Team.TeamName = "testTeam"
    Run Full Process to Tabular DataModel
    Tabular.Team.TeamName = "Testteam" (or sometimes "TestTeam")
    Notice that the case on the first T is changing from lower case to upper case between the DM and the tabular model.  Why?  I've searched for an answer on this forum and elsewhere but other users problems are with duplicate entries with different
    casing, but in my situation, I DON'T have duplicate entries in the tabular model.  It's the same entry from the DM but the case has changed.  Why?  It's almost as if it's trying to "fix" the casing.  After several more tests I've
    found that if I have a mixture of upper & lower case characters, the tabular load changes the case to either all lower or camel case.  What is causing this behavior?
    I've checked the language collation on both the DM Server and the SSAS Tabular Server and they are identical: SQL_Latin1_General_CP1_CI_AS
    I also checked the columns in the DM, specifically - the TeamName column contains the same language collation as the servers  
    This is occurring on one of our lab servers, but the same scenario works fine on my dev box - I've compared the 4 machines and they all appear identical.  Only difference is my dev box has sql server 2012 sp2 developer edition and the lab box has sql
    server 2012 enterprise.  Also my dev box contains windows 8.1 and the lab box windows server 2012 R2 Standard.  
    Any help would be most appreciated.  Thanks.

    Thanks.  I did look at the above post prior to submitting my question but my problem is different:
    Notice that the case on the first T is changing from lower case to upper case between the DM and the tabular model.  Why?  I've searched for an answer on this forum and elsewhere but other users problems are with duplicate entries with different
    casing, but in my situation, I DON'T have duplicate entries in the tabular model.  It's the same entry from the DM but the case has changed.  Why?  I've checked all the other solutions to the duplicate problem and my configuration (as explained
    in original post) appears to be correct to avoid duplicates due to case.  So, I'm stumped.

  • Tabular Model Performance Improvements

    Hi !
    We have a bulitv tabular model inline which has a fact table and 2 dimension tables .The performance of SSRS report is very slow and we have bottle neck in deciding SSRS as reporting tool.
    Can you help us on performance improvements with Tabular Inline
    Regards,

    Hi Bhadri,
    As Sorna said, it hard to give you the detail tips to improve the tabular model performance according the limited information. Here are some useful link about performance Tuning of Tabular Models in SQL Server 2012 Analysis Services, please refer to the
    link below.
    http://msdn.microsoft.com/en-us/library/dn393915.aspx
    If this is not what you want, please elaborate the detail information, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • 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

  • Memory usage in Analysis Services tabular model

    Hello,
    I've been researching and investigating trying to understand what is consuming memory resources in a tabular model that I'm working with. Using SQL Server Management Studio, the Estimated Size of the database is reported as 7768.34 MBs. Using
    Kasper de Jonge's BISM Server Memory Report, the database is reported as 15,465.13 MBs. However, a majority of the fields in the BISM Server Memory Report are empty, and so I cannot determine what is consuming the memory. The data source for this particular
    workbook is $SYSTEM.DISCOVER_OBJECT_MEMORY_USAGE.
    For example: I drill-down to an individual column (ColumnA) in the BISM Server Memory Report (Database > Dimensions > Table > In-Memory Table > Columns > Column) and the reported memory usage is 706.97 MBs. Underneath ColumnA,
    I see a blank level with a reported memory usage of 623.59 MBs and a Segments level with a reported memory usage of 83.39 MBs. Looking at $SYSTEM.DISCOVER_STORAGE_TABLE_COLUMN_SEGMENTS, if I SUM the USED_SIZE for ColumnA, it totals roughly 83 MBs which matches
    what is reported in the BISM Server Memory Report for the segment size. How do I determine what the other 623.59 MBs is being used for? Again, this discrepancy occurs for all columns in the model and not just this one example.
    Thanks!

    Follow up to my original question. It appears that the blank levels (at least under the column level) the Kasper de Jonge's BISM Server Memory Report reports the dictionary size of the column. The memory usage size matches the DICTIONARY_SIZE attribute in
    the $SYSTEM.DISCOVER_STORAGE_TABLE_COLUMNS. I made a mis-assumption as to what the information $SYSTEM.DISCOVER_STORAGE_TABLE_COLUMN_SEGMENTS was providing.
    In my original post I reference one database in particular in where the Estimated Size property in the Database Properties dialog is listed as 7,768.34 MBs. and the $SYSTEM.DISCOVER_OBJECT_MEMORY_USAGE reports 15,465.13 MBs. Thoughts, comments, or opinions
    on why the Estimated Size property does not match what's reported in $SYSTEM.DISCOVER_OBJECT_MEMORY_USAGE?
    Thanks!

  • Error while importing data in SSAS Tabular Model

    I am new to the concept Tabular Model in SSAS 2014.
    I am trying to create one tabular model based on Adventureworks DW 2014.
    I am getting below error while importing tables to create model.
    "OLE DB or ODBC error: Login failed for user 'ASIAPAC\CSCINDAE732028$'.; 28000.
    A connection could not be made to the data source with the DataSourceID of '98c2d415-1e84-469c-a170-2bcacd779c1a', Name of 'Adventure Works DB from SQL'.
    An error occurred while processing the partition 'Customer_65240c88-55e7-416c-a7ac-732dece8be8e' in table 'Customer_65240c88-55e7-416c-a7ac-732dece8be8e'.
    The current operation was cancelled because another operation in the transaction failed."
    But while creating the Datasource, it has created successfully (below img)
    But while importing the facing the below error.
    Note:
    I have multiple instances in my system with unique names.
    Is this causing any ambiguity issues in selecting right instances?

    Hi Naveen,
    Based on your screenshots, you fail to open a connection to the data source. Right?
    In this scenario, the first screenshot you post is for creating a connection to server with the current windows authentication, not for connecting a data source. So the "Test Connection succeed" means your current windows user can connect
    to server, not connect to the database your selected in the dropdown list. Then you click next, you can choose account to access the data source. Based on the information, your service account "'ASIAPAC\CSCINDAE732028$" doesn't have permission to
    access the database you selected. Please grant the permission for the service account in SSMS.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    If you have any feedback on our support, please click here.

Maybe you are looking for

  • Error during the installation of ORACLE 10g for SAP MDM 5.5

    Hi all, I am installing ORACLE 10g on a SUSE LES 9 for a future MDM 5.5 system. While I launch the Installer I get the following error: Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-09-26_07-11-46AM. Please wait ...oracle@mu

  • Issue-Mapping Multiple Source Occurence to Single Target Occurence

    Hi Gurus, I have a requirement where the source has occurence 0 to 4 where as the target has occurence 1 to 1 . Let the source segment be S where the child elements for S are S1 and S2 . S1 takes the values 1 , 2 & 3 . S2 takes the values X , Y & Z .

  • When I click save photo, where is it saved?

    Trying to find out where my saved photos are ......

  • VariableSelection - techn. name in Web?

    Hello, I have Cost Center Hierarchy. In BEx I set up a Reporting-Variable Selection. Here I can switch on / off the technical names in my search. In Web and Portal it is not possible. I always see text. No technical name...and it is not possible to s

  • After a 10.0.3 my PSD images are not recognized ?

    I installed the update 10.0.3 because I really need the new incrustation fonction in my project. But I used a lot of PSD images in it , who were perfectly recognized in the 10.0.2. But after the upgrade all my files PSD were not recognized and a big