[英]Power BI Relationship established, but # values are the same when leveraging
I have created a relationship between multiple data sources and am trying to leverage information across them.我在多个数据源之间建立了关系,并试图利用它们之间的信息。 I ideally want to show the cost associated with different banking transactions by company.
理想情况下,我想按公司显示与不同银行交易相关的成本。 These would come from the deals table and the cost table - the two at either end of the relationship.
这些将来自交易表和成本表——关系两端的两者。
I tried deleting blanks, removing excess values etc. I am hoping the relationship can be fixed.我尝试删除空白,删除多余的值等。我希望可以修复这种关系。
ENTITY_INFO filters PAYMENTS but not Cost. ENTITY_INFO 过滤 PAYMENTS 但不过滤 Cost。
To calculate the total cost of all payments for a company, add a measure like要计算公司所有付款的总成本,请添加一个度量,例如
TotalPaymentCost = sumx(PAYMENTS,RELATED(Cost[Cost]))
. . Most commonly this measure would be added to the PAYMENTS table, but it doesn't actually matter what table you put measures on.
最常见的情况是将此度量添加到 PAYMENTS 表中,但实际上将度量放在哪个表上并不重要。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.