简体   繁体   中英

multiply two column with many to many relationship in power bi

I want to multiply [cube dim] with [QTY shipped]. since both are in different tables with "MANY TO MANY" relationship. so I cannot use related function. kindly help me with the solution.

截屏

您可以编写以下度量来计算产品

Measure = sumx(ITEM MASTER FILE,  ITEM MASTER FILE[Cube Dim] * sumx(relatedtable(Master Data Sheet), Master Data Sheet[QTY SHIPPED]))

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