What is the Direction from Relationship into the Strength BI?
During the Electricity BI, but not, there is certainly an instruction to your matchmaking
Dating for the Strength BI try some time distinctive from almost every other databases government systems. In the most common of one’s options, you simply enjoys a relationship and there’s zero “Direction” because of it. Brand new guidelines out of a romance plays a critical part in the manner in which selection really works from inside the Fuel BI. Understanding the advice of your matchmaking is a vital step towards the the brand new modeling inside Electricity BI. In this article, you will learn on what the latest direction of relationships try, and you may what is the difference in both directional or unmarried-directional relationship. We shall perhaps not speak about how to handle the relationship problems on this page since it could make this information very long post. Later on, I’m able to discuss a knowledgeable practices having level one another directional relationship. For additional info on Fuel BI, see Power BI book out of Novice to help you Rock Star.
If you would like walk through the fresh new instance of this post, do a unique Power BI Desktop file, and also data from AdventureWorksDW and choose DimEmployee because merely table to obtain analysis away from. Information about how to gain access to the AdventureWorksDW dataset;
Open a different Strength BI Desktop, as well as have Data off AdventureWorksDW and pick this type of tables;
The first question is precisely what the guidance away from a romance setting? The answer was; It means Filtering. Almost any advice of your matchmaking is actually, that implies just how Electricity BI filters the knowledge. throughout the over screenshot, you can find the new recommendations of relationships was off DimCustomer into FactInternetSales. It indicates people line regarding DimCustomer normally filter out the data during the new FactInternetSales. As an example; you might slice and chop new SalesAmount (regarding FactInternetSales desk) making use of the EnglishEduction (regarding the DimCustomer), due to the fact less than;
To date, little appears unusual otherwise odd. You could slice and you can chop the data of your fact desk including using columns regarding DimProduct, because there is a relationship guidelines regarding DimProduct in order to FactInternetSales. The situation (or let’s say brand new unusual region) arrives if you want to help you filter out to your another type of
You’ll find sometimes that you ought to filter out against the advice of your matchmaking. Let us evaluate a good example. Let’s hypothetically say we want to get the amount of factors come available in for each and every degree group. You possibly can make a table that have EnglishEduction (out of DimCustomer), and ProductKey (out-of DimProduct) as first faltering step. Upcoming regarding field’s listing of the brand new graphic, replace the aggregation of ProductKey so you’re able to Matter while the revealed from the screenshot lower than;
The result is the amount of products each buyers knowledge classification. However, waiting, the end result cannot look right! They suggests 606 for each and every training classification!
Clearly on the a lot more than screenshot, the fresh count off ProductKey was 606 for each and every EnglishEducation. Associated with The fresh new Assistance of the matchmaking. Let’s go through the advice once more.
You can see the fresh recommendations out-of dating that’s always from one side of the link to this new “many” side of they
As you can see about significantly more than screenshot, only selection of DimProduct otherwise DimCustomer toward FactInternetSales is welcome with the current direction of your matchmaking. Yet not, whatever you are attempting to get to inside analogy is a section additional. We want to filter out DimProduct based on the number of Knowledge inside DimCustomer.