简体   繁体   中英

Excel Power Pivot Data Model

I have a problem in creating correct model for my excel power pivot. Here is how my current data model relationships look like:

关系

And I'm trying to make a pivot table containg Rows, Columns and Values from tables „PH“ and „IMS“, with Filters from the table „BU_Brick“.

数据透视

Untill I add Filters, everything works fine, but when I add Filters from „BU_Brick“ table the following worning shows up:

警告

And now I'm very confused. Which else relationships do I need? Of course, data in pivot doesn't change on filtering.

Your model has no connection between BU_Brick and IMS tables. When you filter BU_Brick, PowerBI has no way of passing these filters to the IMS table.

One way of solving this issue is to change the connection between BU_Brick and Brick to bi-directional. Double-click the connection, and when "connection edit" window opens, change flter direction to "both":

在此处输入图片说明

The little arrow on the connector will change to dowble-arrow, and BU_Brick filters will now work.

Formally speaking, you need to enable a flow of filter context in many-to-many relations. This is a common situation, and here you can learn more:

Many-to-many relationships in Power BI and Excel 2016

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM