What is the Direction out of Relationship within the Energy BI?

  • شهرين ago
  • 1

What is the Direction out of Relationship within the Energy BI?

Into the Strength BI, but not, there is a direction for the matchmaking

Relationships inside Power BI is actually a bit unlike almost every other databases management options. In the most common of your own solutions, you simply have a relationship and there’s zero “Direction” because of it. Brand new guidelines from a relationship plays a serious character on method in which selection work for the Electricity BI. Understanding the guidelines of dating is an important action toward the brand new modeling in the Fuel BI. In this article, you will see on which brand new guidelines of one’s matchmaking try, and you will what’s the difference in each other directional or unmarried-directional matchmaking. We will not discuss tips eliminate the relationship problems in this article as it can make this short article Rockford IL sugar daddy really much time blog post. Later, I am able to reveal an educated practices for covering both directional relationships. More resources for Fuel BI, understand Fuel BI publication from Novice to help you Material Superstar.

Should you want to walk through the fresh new exemplory case of this particular article, would another Stamina BI Desktop file, while having studies off AdventureWorksDW and choose DimEmployee as the simply table to find analysis away from. Information on how to get into the brand new AdventureWorksDW dataset;

Open another type of Electricity BI Desktop computer, and just have Analysis of AdventureWorksDW and choose these tables; DimCustomer, DimProduct, FactInternetSales. Stream the knowledge towards Strength BI. Just after loading analysis with the Strength BI, On relationship tab, you really need to come across every three tables about both.

Initial real question is exactly what the guidance out of a relationship mode? The solution are; It means Filtering. Any sort of direction of your relationship are, it means just how Energy BI filter systems the info. on the above screenshot, you will find brand new recommendations of the relationship is of DimCustomer to the FactInternetSales. This means any line off DimCustomer is also filter the knowledge during the the latest FactInternetSales. For example; you can slice and you will dice brand new SalesAmount (on the FactInternetSales dining table) making use of the EnglishEduction (regarding the DimCustomer), while the less than;

So far, little looks uncommon otherwise unusual. You could cut and you will chop the info of your truth desk as well as having fun with columns from DimProduct, because there is a romance guidance away from DimProduct so you’re able to FactInternetSales. The problem (or what if the newest uncommon area) arrives when you need in order to filter out into a unique recommendations than just what is actually defined about relationship. Let’s discover a good example.

Discover sometimes that you ought to filter out resistant to the advice of the relationships. Let’s glance at an example. Let`s say we want to get the number of factors already been sold in per studies category. You possibly can make a dining table which have EnglishEduction (out-of DimCustomer), and you will ProductKey (from DimProduct) as first rung on the ladder. Following about field’s a number of the newest visual, change the aggregation of ProductKey so you’re able to Count as the shown in the screenshot lower than;

The end result would be the number of products per consumer training group. But wait, the effect doesn’t lookup correct! They suggests 606 for every knowledge category!

As you can plainly see on significantly more than screenshot, brand new number away from ProductKey are 606 for each EnglishEducation. The reason is This new Guidance of your relationship. Why don’t we go through the guidance once again.

You can see brand new guidelines from relationship which is usually regarding one to section of the link to new “many” side of they

As you can see regarding significantly more than screenshot, merely selection off DimProduct or DimCustomer towards the FactInternetSales try enjoy to the latest direction of your own dating. But not, everything we are attempting to achieve in this analogy is actually good piece additional. We would like to filter out DimProduct according to the selection of Training into the DimCustomer.

اشترك في النقاش

Compare listings

قارن