What is the Guidance out of Relationship in the Energy BI?

What is the Guidance out of Relationship in the Energy BI?

Into https://datingranking.net/sugar-daddies-usa/mi/ the Electricity BI, yet not, there is certainly an instructions on the dating

Relationships in Stamina BI is a bit not the same as most other databases government systems. For the majority of expertise, you just have a love and there’s no “Direction” for it. The newest direction of a relationship performs a critical role regarding the way that selection works in Electricity BI. Understanding the assistance of dating is an important step on the the fresh new acting for the Electricity BI. In this article, you will learn on which the fresh guidance of one’s matchmaking are, and what’s the difference in both directional or unmarried-directional relationship. We are going to perhaps not explore just how to eliminate the relationship issues in this article because could make this short article very enough time post. Later on, I can reveal an educated practices to have level one another directional dating. For additional information on Power BI, discover Power BI book regarding Newbie in order to Rock Celebrity.

If you’d like to walk through new exemplory instance of this informative article, would a unique Fuel BI Desktop file, and also have research out-of AdventureWorksDW and choose DimEmployee due to the fact merely dining table to locate study from. Information on how to gain access to brand new AdventureWorksDW dataset;

Open another type of Strength BI Pc, and have now Investigation out of AdventureWorksDW and choose these types of dining tables; DimCustomer, DimProduct, FactInternetSales. Weight the content for the Strength BI. Immediately after packing analysis for the Power BI, In the relationship tab, you really need to see every around three dining tables about each other.

The very first question is just what guidance out of a love setting? The clear answer is actually; It indicates Selection. Any kind of recommendations of the relationship try, meaning just how Stamina BI strain the data. about more than screenshot, you will find the brand new advice of one’s relationships is regarding DimCustomer on the FactInternetSales. This means one column of DimCustomer can be filter the details when you look at the the newest FactInternetSales. For-instance; you could cut and you will chop the newest SalesAmount (regarding FactInternetSales desk) utilizing the EnglishEduction (on the DimCustomer), as lower than;

So far, absolutely nothing looks unusual or odd. You could slice and you can chop the content of one’s reality table also using columns regarding DimProduct, since there is a relationship assistance of DimProduct in order to FactInternetSales. The difficulty (otherwise imagine if the newest uncommon region) happens if you want so you can filter out for the an alternative recommendations than just what’s outlined throughout the relationships. Let us discover an example.

You can find often that you need to filter out from the guidelines of the matchmaking. Let us glance at a good example. Let`s say we need to get the number of products started sold in per training group. You possibly can make a table which have EnglishEduction (out-of DimCustomer), and you can ProductKey (off DimProduct) just like the starting point. After that on the field’s list of the fresh visual, alter the aggregation off ProductKey so you’re able to Amount due to the fact shown in the screenshot lower than;

The outcome are the matter of products each buyers degree classification. However, waiting, the outcome cannot search best! They shows 606 per education category!

As you can plainly see from the a lot more than screenshot, the matter from ProductKey is 606 for every single EnglishEducation. Associated with The Guidelines of the relationship. Let’s go through the guidelines once more.

You can find the brand new direction regarding dating which is constantly off you to definitely area of the relationship to the fresh new “many” side of it

As you can tell regarding significantly more than screenshot, merely selection from DimProduct or DimCustomer to the FactInternetSales try enjoy for the current recommendations of your dating. Yet not, whatever you want to reach contained in this example try an effective bit various other. We should filter DimProduct based on the set of Degree into the DimCustomer.

FacebookLinkedIn
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...