Saltar al contenido →

The greater number of efficient way to use a love between several tables is actually an actual physical relationship in the analysis model

The greater number of efficient way to use a love between several tables is actually an actual physical relationship in the analysis model

Whenever you can, you are able to TREATAS to make usage of the latest digital relationship to possess show grounds

Update 2018-08-15: An additional strategy to propagate a virtual relationships is available having TREATAS, discussed from the post Propagate strain using TREATAS inside the DAX.

Including, you could have a relationship anywhere between Conversion and you can Product by using the ProductKey column, such as next schema.

In order to create a love Dating für Uniform Erwachsene during the a document design when you look at the Stamina Rotate, Electricity BI, otherwise Studies Properties Tabular, at least one side of the relationship must be tied to a column that’s unique regarding the dining table. In this instance, we hook up the ProductKey column of one’s Device table (and that is an important trick) on the ProductKey line of the Transformation table. This is basically the classical that-to-many matchmaking or a relational design.

With this specific matchmaking, people filter out over columns of the Unit desk is reflected inside the a filtration of the Sales desk. Simply put, the partnership transmits the list of viewpoints filtered about ProductKey column of Product table, to a beneficial correspondent filter out placed on the ProductKey line of your Sales dining table. This is done in a really efficient way in the storage engine height, and you may make best results. Your describe an earnings Number level into the an easy way, particularly throughout the adopting the definition.

The reason is you to dining tables was basically brought in without an excellent relationship, while you should never replace the investigation design (including, since you already implemented the content model into the Analysis Services Tabular). Although not, a far more common situation is you don’t produce the relationships once the not one of your own dining tables involved in the dating has actually good line that satisfy the individuality standing necessary for a one-to-of numerous relationships. You’ll find advice throughout the Approaching Other Granularities development, but even tables with multiple blank viewpoints within the a column that will be novel if you don’t comes with the same limit.

You can nevertheless get a valid scale from the transferring brand new filter involving the Equipment table and the Conversion desk using a specific filter conflict on the Estimate means. Particularly, in just about any sort of new DAX words (while the Do just fine 2010), you can utilize the next technique (and additionally discussed from the trend i discussed earlier).

However, you have scenarios in which you don’t possess a physical dating

The newest abilities for the strategy need a top quantity of storage motor issues, because set of viewpoints of these two columns (Product[ProductKey] and Conversion[ProductKey]) will become necessary by the algorithm engine, which is applicable a filtration into the latest sites engine ask computing the worth of transformation for every unit.

The new aggregation of products having the exact same colour is generated because of the the fresh new algorithm motor, which also is applicable an interior loop to do the fresh Includes setting. This is actually the exact same reason used by a great PivotTable exhibiting the newest after the result:

Into the Strength BI and Data Features 2017, you can make use of the newest TREATAS setting to utilize an identical development, like in the next analogy:

If TREATAS is not readily available, you might explore INTERSECT, which has been lead into the Excel 2016 and you may Study Properties 2016. You need to use the INTERSECT mode to make use of a similar trend:

The effect introduced towards user try the same, in addition to formula engine necessitates the exact same research to your shop engine. Ergo, you still pay a higher rates versus ask package obtained using a physical relationships, but the strain on the algorithm motor are shorter owing to a shorter query bundle.

Of course, shows considerations is about certain models of motor and you will could improvement in the long run. You should invariably get to know the fresh new query bundle therefore we might think one to further optimisation would be you’ll subsequently making use of the INTERSECT trend.

On the example you might down load there is certainly documents for Excel and Electricity BI. Take note that the accessibility INTERSECT in the Prosper 2016 might maybe not functions on account of you’ll pests regarding the motor having been already fixed in the Research Functions Tabular 2016 and you will Electricity BI Pc. It’ll work in the next enhance away from Prosper 2016.

As much as possible, you can use TREATAS to apply the fresh new virtual relationship having overall performance factors

Revise 2018-08-15: An additional way to propagate a virtual dating is present that have TREATAS, revealed on article Propagate filter systems using TREATAS for the DAX.

Treats the brand new columns of your own input table once the articles from other dining tables.Per column, filters away one beliefs which aren’t present in its respective production line.

Publicado en uniform-dating-de visitors

Comentarios

Deja un comentario

Tu dirección de correo electrónico no será publicada.