What’s the Recommendations away from Dating into the Fuel BI?

Inside Strength BI, but not, you will find a training with the relationships

Matchmaking when you look at the Power BI try sometime not the same as almost every other database administration systems. In the most common of systems, you just has actually a relationship and there’s zero “Direction” for this. The newest guidance regarding a love performs a critical role in the manner in which selection performs in Energy BI. Understanding the guidelines of matchmaking is an important action toward the fresh modeling when you look at the Strength BI. In this post, you will learn on what the fresh new recommendations of the matchmaking was, and you may what is the difference in one another directional or unmarried-directional relationships. We’re going to maybe not discuss how-to manage the relationship issues in this article because it could make this information very a lot of time article. Afterwards, I can write about a knowledgeable techniques for layer one another directional relationships. More resources for Electricity BI, realize Fuel BI guide out of Novice to Rock Celebrity.

If you wish to walk Tucson AZ sugar baby website through the new example of this article, create a new Power BI Desktop computer document, and then have data off AdventureWorksDW and select DimEmployee since the just desk to locate analysis from. Here is how to get into the new AdventureWorksDW dataset;

Unlock yet another Fuel BI Desktop computer, and have now Study regarding AdventureWorksDW and select such tables; DimCustomer, DimProduct, FactInternetSales. Weight the content on the Strength BI. Immediately following loading study towards the Energy BI, Regarding dating case, you really need to look for every around three dining tables linked to one another.

The most important question is precisely what the advice away from a relationship mode? The answer was; This means Selection. Any sort of guidance of the matchmaking is actually, it means how Strength BI strain the info. on the over screenshot, you will find the new guidance of one’s dating is regarding DimCustomer on the FactInternetSales. It indicates any line of DimCustomer can filter out the information when you look at the this new FactInternetSales. As an instance; you could potentially slice and you will dice brand new SalesAmount (about FactInternetSales desk) using the EnglishEduction (regarding DimCustomer), because the less than;

So far, little looks strange or weird. You could potentially cut and you may chop the data of your fact dining table along with playing with columns out of DimProduct, while there is a love guidance out-of DimProduct in order to FactInternetSales. The trouble (or imagine if the latest unusual region) appear when you want to help you filter with the a separate advice than simply what is actually discussed in the relationship. Let us find an illustration.

You can find both that you should filter out up against the recommendations of one’s matchmaking. Why don’t we see a good example. Let’s assume we want to have the amount of points started purchased in for every studies group. You possibly can make a desk with EnglishEduction (from DimCustomer), and you may ProductKey (off DimProduct) while the starting point. Up coming in the field’s directory of brand new artwork, change the aggregation out-of ProductKey to help you Number since shown regarding the screenshot lower than;

The outcome will be the count of products for each and every consumer degree class. But hold off, the end result does not search best! It shows 606 for each studies category!

As you can see regarding more than screenshot, the fresh count out of ProductKey is actually 606 for every EnglishEducation. The reason is New Direction of matchmaking. Let us go through the recommendations once again.

You will see the latest direction of relationships which is constantly from you to section of the link to the fresh “many” side of they

As you can tell on over screenshot, merely selection off DimProduct otherwise DimCustomer for the FactInternetSales are invited on newest advice of one’s dating. Yet not, what we should want to reach inside analogy try a bit various other. We would like to filter out DimProduct according to the group of Training during the DimCustomer.

Deja una respuesta