THỨ TƯ,NGÀY 22 THÁNG 4, 2020

Changing Mix filter recommendations to own a complicated selection of dining tables and you will matchmaking

Bởi Nguyễn Hoàng Phong

Cập nhật: 29/06/2022, 12:08

Changing Mix filter recommendations to own a complicated selection of dining tables and you will matchmaking

Discover a one-to-one to dating ranging from the a few dining tables because there are no continual thinking about mutual table’s ProjName column. The brand new ProjName line is special, as the for every value occurs only if; for this reason, the brand new rows regarding the two dining tables will be shared truly instead any replication.

However,, imagine if you realize the data will change the very next time you renew it. A refreshed sorts of the fresh ProjectBudget dining table is now offering extra rows into the Blue and you will Purple projects:

Within the combined dining table, brand new ProjName column https://mytranssexualdate.org/mytranssexualdate-review/ provides continual philosophy. Both fresh dining tables will not have a one-to-one to relationships just like the dining table is actually refreshed. In this case, since the we know those people coming updates may cause the fresh ProjName column having copies, we would like to place the new Cardinality getting Of numerous to just one (*:1), towards of numerous side-on ProjectBudget in addition to one to side on CompanyProjectPriority.

For the majority matchmaking, the fresh cross filter assistance is set to help you One another. There are, however, more unusual affairs the place you could need to lay this solution in different ways about default, eg if you’re posting a design from an adult variety of Electricity Pivot, where all matchmaking is determined to 1 advice.

When the a relationship mix filter out guidance isn’t really set to Both, it is always since it create manage ambiguity

The brand new Each other mode permits Electricity BI Desktop computer to treat every aspect away from linked tables because if they’re a single dining table. There are many situations, but not, where Power BI Desktop computer are unable to lay an effective relationship’s get across filter guidelines in order to Both and also have continue an enthusiastic unambiguous set of non-payments offered to have reporting purposes. In the event the standard get across filter out mode isn’t really working out for you, was means it to help you a particular table or to Each other.

Single direction get across filtering works best for of numerous facts. Indeed, if you’ve brought in a model regarding Strength Rotate inside Do just fine 2013 otherwise before, most of the relationships could be set-to single assistance. Unmarried guidance implies that selection alternatives within the linked dining tables work at the fresh new table in which aggregation job is going on. Often, skills cross filtering can be a little difficult, thus why don’t we consider an example.

With unmarried recommendations get across filtering, for many who manage a declare that summarizes your panels occasions, you may then love to describe (otherwise filter out) by the CompanyProject table and its particular Concern column and/or CompanyEmployee dining table and its own Area column. If the yet not, you want to matter exactly how many personnel per tactics (a less frequent question), it’s not going to work. You’re getting a line regarding viewpoints that will be yet. On Philosophy really, the project career is determined so you can Count:

On following example, each other relationship’s mix selection guidance is determined to 1 direction: on the ProjectHours dining table

Filter out requirements tend to flow from CompanyProject so you can ProjectHours (since the shown on following visualize), nevertheless wouldn’t flow doing CompanyEmployee.

Although not, for those who put the brand new mix filtering assistance in order to Both, it does really works. The newest One another mode lets the latest filter out specs in order to circulate to CompanyEmployee.

Mix selection one another information works well getting a routine regarding table relationships for instance the pattern significantly more than. It schema was most commonly called a star schema, such as this:

Mix selection assistance can not work really that have an even more standard trend often found in databases, as in so it drawing:

When you yourself have a table development such as this, having loops, after that get across selection can create an uncertain number of matchmaking. For example, for people who summarize a field off TableX and like so you’re able to filter by the a field for the TableY, it is not clear how filter is always to travel, through the top dining table or even the bottom dining table. A common exemplory instance of this sort of pattern is by using TableX since the an income dining table with actuals investigation and for TableY so you can feel budget data. Following, new tables in-between are search dining tables one to both dining tables use, such as office or area.

Bình luận

Tôn trọng lẫn nhau, hãy giữ cuộc tranh luận một cách văn minh và không đi vượt quá chủ đề chính. Thoải mái được chỉ trích ý kiến nhưng không được chỉ trích cá nhân. Chúng tôi sẽ xóa bình luận nếu nó vi phạm Nguyên tắc cộng đồng của chúng tôi

Chưa có bình luận. Sao bạn không là người đầu tiên bình luận nhỉ?

SEARCH