array(1) { [0]=> object(WP_Term)#6886 (10) { ["term_id"]=> int(2439) ["name"]=> string(27) "sugar-daddies-usa+la review" ["slug"]=> string(27) "sugar-daddies-usa-la-review" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(2439) ["taxonomy"]=> string(8) "category" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(1) ["filter"]=> string(3) "raw" } }

What is the Assistance away from Relationships into the Strength BI?

29 Th9, 2022

What is the Assistance away from Relationships into the Strength BI?

From inside the Stamina BI, but not, discover an instruction towards dating

Relationship when you look at the Strength BI is actually some time different from almost every other database administration possibilities. In the most common of one’s expertise, you simply have a love and there is no “Direction” because of it. The latest assistance off a romance performs a life threatening part about manner in which filtering work in Stamina BI. Knowing the guidelines of one’s matchmaking is an important action to the the acting within the Energy BI. In this article, you will learn on what the new direction of the dating was, and you may what is the difference between both directional otherwise solitary-directional dating. We are going to perhaps not talk about how-to handle the relationship conflicts in this article because can make this post very long post. Later on, I am able to talk about a knowledgeable techniques to own level both directional relationships. More resources for Strength BI, comprehend Energy BI publication out of Newbie to Stone Superstar.

If you wish to walk through the fresh instance of this post, carry sugar daddies Louisiana out a different sort of Energy BI Pc document, and have study from AdventureWorksDW and pick DimEmployee once the merely desk discover research of. Information on how to gain access to the fresh new AdventureWorksDW dataset;

Unlock an alternate Electricity BI Desktop computer, while having Analysis out-of AdventureWorksDW and select this type of tables; DimCustomer, DimProduct, FactInternetSales. Weight the info for the Energy BI. Just after packing research toward Electricity BI, On relationships loss, you need to see all about three dining tables linked to both.

The very first question for you is what the guidelines off a romance form? The answer is actually; It indicates Selection. Whichever advice of your matchmaking are, this means exactly how Electricity BI filters the data. about above screenshot, you will find this new recommendations of the relationships was regarding DimCustomer into the FactInternetSales. This means any column off DimCustomer can be filter out the knowledge during the the FactInternetSales. As an instance; you might slice and chop new SalesAmount (in the FactInternetSales table) by using the EnglishEduction (throughout the DimCustomer), as the less than;

Up to now, absolutely nothing seems unusual or strange. You could slice and you may dice the info of the fact table together with playing with columns from DimProduct, because there is a romance direction of DimProduct to FactInternetSales. The issue (or imagine if the uncommon part) will come when you want so you can filter to the yet another guidance than what is defined throughout the relationship. Let us discover a good example.

You’ll find possibly that you ought to filter from the guidance of dating. Let us glance at an example. Let’s assume we wish to have the amount of facts started purchased in for every training category. You may make a dining table which have EnglishEduction (out of DimCustomer), and you will ProductKey (away from DimProduct) as the first faltering step. Then throughout the field’s range of the fresh new artwork, alter the aggregation regarding ProductKey so you can Amount as revealed regarding the screenshot below;

The effect are definitely the amount of products for each customer education group. However, wait, the result cannot look proper! They suggests 606 for every single studies classification!

As you care able to see from the more than screenshot, the new number off ProductKey is actually 606 each EnglishEducation. This is because The fresh Advice of your own matchmaking. Why don’t we glance at the assistance again.

You can view the brand new assistance out of matchmaking which is always regarding one to region of the relationship to the new “many” edge of it

As you can tell throughout the above screenshot, simply selection off DimProduct otherwise DimCustomer towards FactInternetSales is actually greet into the newest advice of the relationship. Yet not, whatever you want to reach within example are an excellent portion other. We would like to filter DimProduct based on the selection of Education within the DimCustomer.

Chia sẻ bài viết: icon
Tìm kiếm
Danh mục