To Principles: Electricity BI Relationship Demystified

To Principles: Electricity BI Relationship Demystified

You’ll find loads of blogs on the advanced information out-of Energy BI modeling such as complex DAX, and you may framework change. not, based on my experience in all of our subscribers, I came across there’s a big gap inside basic content. Which, this information is planning to defense the basic concepts of the relationships. Info such as for instance: What exactly is a love? How come you need it? And you may the proceedings logically behind the view away from a romance? For additional info on Stamina BI, discover Power BI publication from Novice to Stone Star.

What’s the Dating from inside the Strength BI?

Let us look at the concept of a romance courtesy an example; Can you imagine you really have one desk to own Store, and you must become familiar with you to during the Stamina BI. All of our Store table looks like which:

From the Fuel BI declaration, if you’d like to create an effective visualization the amount away from places during the County, it might be in this way:

As you care able to see, the state is filter out the newest desk to display this new matter from info for each county. Easily need certainly to visualize the fresh new filtering, it could be in this way:

Let’s say several desk?

Today why don’t we consider what takes place whenever we have more than simply one table; Imagine if there was sales desk along with as part of the answer. Sales desk have some information, including exactly how many of each and every book title, from which date, within what store is sold. Let me reveal an excellent screenshot of your own research throughout the Transformation table;

In order to find out matchmaking, I actually do highly recommend one to closed the vehicle-position relationship (I really don’t suggest always! For the goal of so it training). Acquiring the auto-place relationships closes you from discovering what’s going on behind the latest world. If you want to shut down this particular aspect, you should very first head to choice out-of Electricity BI Desktop;

If we stream product sales dining table in addition to in the same services, now we will see a couple of dining tables. Without any relationships (just like the vehicles-discover matchmaking was switched off) while the lower than;

Now, when we need certainly to filter out to see what’s the full Qty out-of book titles bought in for each shop, we could do this having fun with an artwork such as for example less than;

This would be similar to the earlier in the day visualization to the Shop dining table. The latest selection goes everything in one table, not, now the newest table is Sales;

As you can see on more than visualization, the regarding qty for every county are 493! Together with total qty on the Conversion desk is applications de rencontres pour adultes fessés even 493! Naturally, this time around selection don’t happen accurately. Just like the Sales merely is aware of new stor_id, not the official:

If we need certainly to filter out which desk by shop, the sole job that delivers you like ability was stor_id which cannot know any thing regarding the county.

At exactly the same time, a shop dining table comes with the condition community, however, understands little about the Product sales and you will Qty! But not, discover a great stor_id field inside dining table also. Which is the book id of your own shop for every for every line (store);

Within analogy, we want one another dining tables, while they each other contain sphere that people you need in our visualization: Condition career of Shop desk, and you can Qty industry from the Sales dining table. The latest stor_id community is the community that can help us within the looking right up one well worth on almost every other dining table. Let us observe that as a result of a good example:

The sales dining table as well front side, tell us exactly how much transformation we had about shop 7066 (that’s Barnum’s shop);

Those two tables is going to be connected to one another, playing with stor_id. Otherwise imagine if they put differently; these tables can be Connected with one another utilising the stor_id field.

Dieser Beitrag wurde unter sites-de-fessee visitors veröffentlicht. Setze ein Lesezeichen auf den Permalink.