Stamina Pivot Beliefs: Bidirectional Dating during the Strength Pivot

You will find around three different you can actual relationships versions within the database build however most of the served into the Energy Pivot. The big variety of relationships try:

  • one-to-many
  • that-to-that
  • of many-to-of a lot.

A relationship shall be build given that unidirectional (we.age. streaming in a single recommendations, the fresh new default behaviour) otherwise bidirectional (i.e. streaming in both directions). During the an excellent unidirectional relationships new filter out perspective was propagated in the one-front side on of many-side, although not the other way around. As foundation of Stamina Pivot, usually the one-to-of numerous relationship is actually a normal unidirectional relationships. From the analogy significantly more than, the customer table is on the fresh step 1 section of the dating plus the Sales table is on the many side of the matchmaking (we.age. we e customer). In this case, i fool around with a common industry ‘Buyers Key’ to participate both tables. ‘Customer Key’ here’s used since unique code that assists so you can pick per buyers label. No copies of Customer Secret are allowed regarding Customer dining table. On the other side, regarding the Transformation dining table, ‘Customer Key’ may be used a couple of times when the you can find several info out of conversion to have particular customers. This is one way one to-to-of numerous relationship try outlined anywhere between dimension dining tables (browse tables aren’t on the that (1) section of the relationship) and you can fact dining tables (referred to as informative analysis tables on the of a lot side of the relationship). The entire Stamina Pivot Vertipaq engine is actually optimised to utilize it (you to of several) sort of dating.

The sales table is actually filtered by the Customer table on the ‘Customer Key’ while the Equipment dining table was blocked to the ‘Product Key’ which have a beneficial unidirectional that-to-of many relationship

We put up the partnership involving the Conversion process dining table together with Schedule dining table, based upon the fresh new characteristic Date. But not, it needs to be noticed that during the Strength Pivot, singular-to-of several relationship appear, without bidirectional filter try greeting in the editor. Thank goodness, the new DAX motor inside the Excel 2016 facilitates DAX codes to attain the outcome of a bidirectional filter out. The DAX function CROSSFILTER contributes a 3rd disagreement that provides this new ability to customize the guidelines away from propagation of filter out when you look at the a love. Available arguments is None, OneWay and you will Both. We will think of this means after.

Why don’t we view the outcome in Stamina BI. Bidirectional relationships is offered for the Stamina BI just like the either BI builders need certainly to synchronise slicers to own studies data. Let us look at a straightforward example. I have four (4) dining tables and relationships settings because shown less than (amounts implies this new fields connect):

We create the article on sales reliant the info and you will relationships over. In such a case, the result would be:

Yet not, the latest filter cannot instantly is https://datingranking.net/tr/flirt-inceleme/ born the sales table in order to the merchandise dining table by unidirectional dating

So it actions work fine in most conditions. It is quite preferred in order to filter conversion process centered people otherwise products’ services. Whenever we desire to use a couple of slicers (you to toward customer identity plus one into the tool name) to help you filter out the sales, the effect table might possibly be:

New report really works even as we asked. It strain the sales by customer An effective. However, the new ‘Tool Name’ slicer does not work properly. Such, buyers An effective just makes up new sales regarding unit Cherry and you may Dragon good fresh fruit, but unit Fruit and Banana stick to the newest slicer checklist. Therefore, this new slicer ‘Product Name’ cannot bring simple opinions for the clients. The reason is easy: the filter out into the Consumer is at Transformation, which merely strain the sales of the chosen buyers. If we need certainly to filter out Product depending Customers, we could alter the relationships ranging from Unit and Conversion to help you a good bidirectional relationship:

Facebook

Bình luận

*