Loader

Strength Pivot Principles: Bidirectional Dating during the Energy Pivot

Strength Pivot Principles: Bidirectional Dating during the Energy Pivot

Bidirectional relationship is actually served from inside the Stamina BI as the either BI designers need to synchronise slicers to possess investigation study

  • one-to-of a lot
  • one-to-you to
  • of numerous-to-of numerous.

A romance is set up because unidirectional (i.age. moving in a single assistance, the new standard habits) otherwise bidirectional (we.e. streaming in both advice). In a unidirectional relationships the latest filter out context is actually propagated regarding the one-front side on the of many-side, but not vice versa. As the foundation of Fuel Rotate, the one-to-of a lot dating is actually a normal unidirectional relationships. Regarding the example over, the client desk is found on the brand new 1 area of the matchmaking and Sales desk is found on the numerous side of the dating (we.e. we e buyers). In this situation, i use a familiar job ‘Customer Key’ to become listed on both dining tables. ‘Customer Key’ here’s put as the novel code that assists so you’re able to choose for each consumer name. No duplicates of your Buyers Key are allowed about Customer table. On the other side, on Conversion process desk, ‘Consumer Key’ can be used a couple of times in the event the you’ll find several info off conversion for certain customers. This is one way you to definitely-to-of several relationships was laid out between measurement dining tables (look tables commonly into the one (1) area of the relationships) and you will fact tables (referred to as factual studies tables with the many side of the connection). The whole Fuel Pivot Vertipaq engine are optimised to do business with this (one to many) style of matchmaking.

I setup the relationship within Transformation desk therefore the Diary dining table, dependent the fresh trait Day. However, it should be noticed that into the Fuel Pivot, singular-to-of a lot dating arrive, without bidirectional filter try greeting on editor. The good news is, https://datingranking.net/pl/whatsyourprice-recenzja/ the brand new DAX engine within the Prosper 2016 facilitates DAX rules to achieve the result from good bidirectional filter. Brand new DAX means CROSSFILTER contributes a third conflict that give the fresh power to modify the guidance of propagation of filter inside the a romance. Available objections are Not one, OneWay and you can Both. We are going to think about this means later.

Let us glance at your situation in Fuel BI. Let us check a simple example. We have five (4) dining tables and relationship options as the shown lower than (quantity implies the fresh areas connect):

Product sales desk was filtered because of the Customers table into the ‘Customers Key’ therefore the Device dining table is blocked on ‘Device Key’ with an effective unidirectional one to-to-of a lot relationships. I create the article on conversion process depending the information and relationship significantly more than. In this instance, the effect would-be:

This habits work great in the most common circumstances. It can be prominent to filter out conversion depending people or products’ services. If we want to use several slicers (that on buyers label plus one towards the tool label) in order to filter the sales, the result dining table was:

You can find three additional possible actual dating systems inside the databases build but not all offered from inside the Fuel Pivot

New declaration works as we questioned. They filters the sales by the customer A. But not, the ‘Equipment Name’ slicer fails. For example, customers Good just makes up the brand new business off product Cherry and Dragon fruits, however, product Apple and you can Banana remain on the latest slicer number. Thus, new slicer ‘Unit Name’ cannot promote effortless viewpoints into customers. Associated with simple: this new filter into the Consumer reaches Sales, that it simply filter systems the sales of selected buyers. Although not, the brand new filter will not automatically is born product sales dining table so you can the item table from the unidirectional matchmaking. Whenever we must filter Tool dependent Customer, we are able to change the dating ranging from Equipment and you can Conversion process to help you a good bidirectional matchmaking:

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Top