Many to Many relationship in SSAS Tabular model - ssas

Many o many relation in ssas tabular
Hi ,
I have Accounts and Customers from an account should be related with multiple customers and customer also related with multiple Accounts .For these relation, I have attached screen shot what i have designed in ssas tabular model.which is not working properly.
kindly advice me how to solve this issue.
Thanks,
Praveenkumar.k

just double-click on customer-account relationship and choose Bi-directional for filter direction.
this feature works with SSAS 2016 and SSDT2015.
For more information about this feature take a look:
Bi-directional cross filters for tabular models in SQL Server 2016 Analysis Services

Related

Load SSAS Tabular from Multiple Sources

I have many customer databases for our product that have the same schema. Is there a way to loop through these databases and load a SSAS Tabular cube with data from all of them?
Hopefully this can be done.

Automate SSAS Tabular Model creation via script

I have a data catalog where people can browse through the DWH tables. People can select tables and send a request to the IT team. This is in the form of a table which gives all the table names and column names that a person wants to have.
In the current situation, my team has to manually create a SSAS Tabular Model with the requested tables in Visual Studio: (Create a new model, connect to the DWH, select the requested tables and columns, assign user access and deploy the model on the analysis service.)
My question: is there somebody who knows a way to automate this process? Is it possible to create Tabular Models with scripts automatically? I've come across Tabular Model Scripting Language but I'm unsure from the documentation if it's possible to create NEW tabular models. Seems like it's only possible to script and make changes in already existing models.
Any form of suggestion or guidance will be appreciated, thanks beforehand.
Michael Kovalsky has a great solution for this on GitHub. See https://github.com/m-kovalsky/ModelAutoBuild. You start with an Excel template and then use scripting in the Tabular Editor tool to create the model. It may not have all the elements you need in your models, but it is a great starting point.

data access management in OLAP cube for organization with multiple compaines

I am building a OLAP Cube in SSAS for an organization which has many different companies under its umbrella.
i have built a principal cube which consists of all the measure groups and dimensions, which has the data of all the companies in this organization.
Now this cube is ok for the top level management, but i need to limit the access of users from each of the companies, only to the data of its own company.
Is there a way to do that in the principal cube, without duplicating it to many sub cubes, each consists of only the relevant company?
Thank you in advance,
Tal
You can use role based security in combination cell-based security. below link can be useful:
https://learn.microsoft.com/en-us/sql/analysis-services/multidimensional-models/grant-custom-access-to-cell-data-analysis-services
We solved the problem through the automatic modification of MDX queries, restricting data through nested cubes (subcube) for each organization. Not only data, but also cube metadata were limited. The mechanism of roles to the customer is not suitable, as organizations and users are constantly added.The Ranet UI Pivot table was used in the Saas solution. The library allows you to parse and modify MDX query, as well as filter the metadata of the cube.

SSAS cube development

I am developing an SSAS cube for the product I am working on.
I have faced the below problems:
In the product you can build organization unit chart. This organization unit will be used as a dimension in the cube. In my research I found that I can build a cube grammatically using C#. My question is that what is the best approach to build a dynamic dimension.
In the product, we have a role based permission. A user can see data based on his role. How can I implement this feature in the cube? Currently, any body can read all the data from the cube.
Thank you for your help.
Dynamic dimensions are possible in SSAS. You would be able to show the members based on the roles that are desired. This is done using "Dynamic dimension security". You'd be able to write an MDX in the "Dimension data" tab.
http://bidn.com/Blogs/analysis-services-dynamic-security

Where is SSAS headed?

I was just wondering if I am one of the few people in the world actually using SSAS, or is it prevalent in IT? There are so few people posting SSAS questions and answers here. Right now I'm running into an issue creating a Data Mining Dimension (model name dropdown is blank) and when I Google the problem I get 4 results. MS did not include it in SQL Server 2010, so is it going away? Are people using PowerPivot instead?
SSAS is there to stay. Microsoft have a 3 tier strategy for BI :
Personnal BI
Team BI
Organizational BI
PowerPivot is both for Personnal and Team, but SSAS is clearly in the Organizationnal slot. You can read all about it there :
http://blogs.msdn.com/b/analysisservices/archive/2011/05/16/analysis-services-vision-amp-roadmap-update.aspx