ssas tabular 2016 Many to many relationship - ssas

errori'm new here ,and in the ssas tabular modeling, im working on a project and i have to do a many to many relationship in ssas tabular 2016 BUT they give me this probleme.
my model is like this where index is note a primary key in both tables and i want to join the two tables with it.
thank you all !
model2

SSAS 2016 & 2017 does not support the Many-To-Many Relationship nativity in SSAS, you will have to use a bridge table. One other option which may meet your requirements is to activate the Bi-Directional filter in a Many-To-One relationship. A good outline is blogged about here.
Only SSAS 2019/Azure Analysis Services (Compatibility level 1500) & Power BI allows the native selection of Many-To-Many relationships.

Related

why cant i see a many-to-many relationship option?

According to this article, starting with sqlserver 2016+, bidirectional filtering was introduced to eliminate DAX queries need for many-to-many relationships to be created.
i set the filter directions to both tables on my tabular project
as you can see, a many-to-many relationship still doesnt show up.
we have a requirement for many to many but why cant i see it even though i have sql server 2017 and VS 2017??

How To Update Table Relationships in TABULAR SSAS

I've Imported multiple tables in my tabular model in SQL Server Analysis Services, after importing, I changed my tables structure and defined foreign keys. now my tabular model doesn't understand my changes and not showing me my relationships.
Does any body has any idea how to update my table relationships without recreating project?
Thanks.
I Opened my project in Data Tools AND Viewed it as Code. In View Code Mode, I Changed My Relationships And Added New Columns, Renamed My Columns And pretty much, Changed Everything.
It is more complicated than Design View but I think Its more powerful.
I was looking for this for a long long time, thought it may happen to you too, so I posted in here. :)

How to add aggregation tables in an SASS cube?

In a transition from Mondrian OLAP server to Microsoft's SSAS OLAP server, I'm trying to find out where the aggregation tables fit in. The database have various fact tables, each with accompanying aggregation tables for year, month and day.
How can one design such a structure in Visual Studio? The current project is "Multidimensional and Data Mining". In cube designer, cube structure only handles measures and dimensions. Aggregations seem to not take any additional tables as parameters. I've found no help online for this issue either, most of the information is about aggregation design. The design is already in place, but how to connect it to the cube?
In Pentaho Mondrian, this was simply done in the schema xml adding aggregation tables inside cube section.
Can anyone share some thoughts on this topic?
In an SSAS Multidimensional model there's no such thing as an aggregation table (unlike in Tabular, which I believe does support them).
In SSAS MD the only storage structure is the cube. The equivalent of aggregation tables is aggregation designs, which store pre-aggregated values, as part of the cube, but not in a way that is visible and separate, as an aggregation table is.
Since your legacy system does use aggregation tables, maybe the migration would be easier if it went to MS SSAS Tabular rather than SSAS Multidimensional?

Is there a tool that will show diagrams of my SQL database in real-time?

I've created some diagrams of SQL tables using the "Reverse Engineer" feature of Microsoft Office Visio. I like being able to visualize my relational databases in this manner.
However, what I get is just a static document that I can print, e-mail to colleagues, and click widgets on.
Earlier this year, I saw at a demo that the new version of Visual Studio 2010 has a new feature called the "Architect Explorer", which allows developers to view relationships among .net classes on the fly. It has many features for filtering the data that the developer is interested in.
It would be really awesome if I could visually browse my tables and stored procedures and see what is related to what by primary key, foreign key, and referenced in stored procedures. I realize that I'm talking about two entirely different technologies and it's not a perfect analogy, but is there some similar tool that would allow me to visualize tables in my SQL database?
I have seen RedGate SQL Dependency Tracker do this:
SQL Dependency Tracker allows you to dynamically explore all your database object dependencies, using a range of graphical layouts.
If you're already using Visio, you should be able to refresh your database diagrams after they've been reverse engineered from an existing database.
Check out:
About synchronizing database model diagrams with databases
If you have a database model that you
created from an existing database with
the Reverse Engineer W izard, you can
keep the drawing synch ronized with
the database.
Is that what you're looking for??

Parent-Child Relationship: E-R Diagram

Would you please let me know a reference document or web references for a good E-R diagram displaying Parent Child relationships between the tables (Min. of 8 tables) with MS SQL Server 2008 database?
I am planning to design a big database, so looking forward for your help.
Take a look at Oracle's Datamodeler Tool.