Power BI中不是主键的匹配列

时间:2019-05-22 15:36:52

标签: powerbi analytics data-science dax custom-fields

我正在为客户端创建自定义表-它们的数据库结构如下:

Company Table: 
Company ID 
Custom Field 1 
Custom Field 2
etc. 

Project Table: 
Project ID 
Company ID 
Custom Value 1 
Custom Value 2 
etc. 

我已经基于Company ID连接了表,但是我也希望PB能够识别Field 1并将其连接到Value 1,但是我不确定要使用什么代码。

这是1位用户的结果: Custom Table

如您所见,我需要Operations Research下的CIP CodeCountry下的Countrydate下的date

这是查询编辑器中的外观: Query Editor - Attributes don't match up

为了使表正常工作,我取消了透视,以便所有公司都将自定义字段与company匹配,然后组合表,取消透视的值,以便每个值都将匹配一个属性,然后对其进行透视以使字段成为列(Picture attached)

谢谢!

0 个答案:

没有答案