Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hey Guys,
I have a problem with simple measure using sumx function. I am trying to calculate the total weight of manufactured goods, by multiplying the quantity (produt.qty) with the weigth (weight) in related table, line by line.
I am using this formula:
Solved! Go to Solution.
@Almantas32 , Try like
SUMX('public mrp_production', 'public mrp_production'[product_qty] * RELATED('public product_template'[weight]))
@Almantas32 , Try like
SUMX('public mrp_production', 'public mrp_production'[product_qty] * RELATED('public product_template'[weight]))
Hi @Almantas32 ,
Try modifying your DAX as follows:
Total Weight = SUMX('public mrp_production',
SUM('public mrp_production'[product_qty]) * RELATED(SUM('public product_template'[weight])))
Thanks,
Pragati
User | Count |
---|---|
98 | |
76 | |
75 | |
48 | |
27 |