The more effective way to apply a romance anywhere between a couple tables try an actual physical relationship in the research design

Whenever you can, you can use TREATAS to make usage of the brand new digital dating to own performance factors

Posting 2018-08-15: An additional strategy to propagate a virtual matchmaking is available having TREATAS, revealed in the post Propagate filters playing with TREATAS during the DAX.

For example, you can get a romance ranging from Conversion and you can Unit making use of the ProductKey column, such as next schema.

In order to create a romance into the a data design when you look at the Fuel Rotate, Stamina BI, or Analysis Services Tabular, at least one side of the mejor sitio de citas sexo relationship should be tied to a column that’s novel on table. In such a case, i hook the new ProductKey line of one’s Equipment desk (and that is the main key) toward ProductKey column of Conversion dining table. Here is the classical you to-to-of numerous relationships or a great relational design.

Using this type of dating, people filter out more than articles of the Tool desk is mirrored inside a filtration of Conversion process table. Put another way, the connection transmits the list of thinking filtered from the ProductKey line of one’s Unit desk, in order to a beneficial correspondent filter put on this new ProductKey line of Conversion desk. This is accomplished in an exceedingly effective way at the storage motor top, and you can make greatest overall performance. You describe a revenue Matter level during the a great way, such as for instance regarding after the meaning.

Why might possibly be you to tables have been brought in instead of a beneficial matchmaking, while you should never change the study design (for example, because you currently implemented the content model during the Studies Services Tabular). Yet not, a prominent case is you don’t produce the dating due to the fact none of the dining tables mixed up in matchmaking enjoys a great line that fulfill the individuality reputation required by a-one-to-of several relationships. You can find instances regarding the Approaching Different Granularities trend, but also tables with several blank thinking in a line that would be unique if not has the same limit.

You can still receive a legitimate level by the going the new filter between the Device desk while the Conversion dining table playing with a certain filter disagreement on Calculate means. Including, in any particular the fresh DAX vocabulary (given that Excel 2010), you are able to the following strategy (together with revealed in the trend i mentioned before).

not, you may have issues the place you don’t have an actual physical relationship

The new show from the approach need a top amount of shops motor issues, because selection of viewpoints of these two articles (Product[ProductKey] and Conversion[ProductKey]) becomes necessary by the formula motor, hence can be applied a filtration with the finally sites system query computing the value of conversion process per unit.

This new aggregation of goods obtaining exact same color is generated by the the newest algorithm system, which also enforce an interior loop to perform the brand new Include function. This is the same reason used by a good PivotTable demonstrating the fresh new following the result:

Inside the Electricity BI and you may Study Attributes 2017, you should use the fresh TREATAS function to use an identical pattern, like in the next analogy:

In the event the TREATAS is not available, you might play with INTERSECT, which was produced in Do just fine 2016 and Research Characteristics 2016. You are able to the INTERSECT setting to use a comparable trend:

The effect brought on user try identical, and also the algorithm engine necessitates the same data into the shop engine. Thus, you will still spend increased speed compared to inquire package acquired having fun with an actual physical relationship, but the strain on the formula system was reduced due to a shorter query bundle.

As usual, performances factors are about particular sizes of the system and you will you certainly will improvement in the future. It is best to analyze the fresh new query plan and we might imagine you to definitely subsequent optimization would-be you can in the future utilizing the INTERSECT trend.

In the analogy you can down load there is records to have Prosper and you can Power BI. Please note that the usage of INTERSECT in the Excel 2016 you will maybe not performs due to you can insects regarding the motor that have recently been fixed inside Research Services Tabular 2016 and Strength BI Desktop computer. It will probably operate in a future revise from Prosper 2016.

Whenever possible, you can use TREATAS to implement this new virtual relationships to own show causes

Modify 2018-08-15: An additional strategy to propagate a virtual relationship is available which have TREATAS, explained on blog post Propagate filters playing with TREATAS within the DAX.

Treats the new columns of your type in dining table because the articles off their tables.For each column, filters out people values that are not present in their respective output column.

دیدگاهتان را بنویسید