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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I need to have a matrix with total revenue measure as Revenue =Unit_Price*Quantity the problem is that these fields are in two differente table.
My db is:
| Orders | ordersRow | OrdersShipped |
| OrderNumber(1) | OrderNumber(m) | Index(m) |
| Customer Name | Index(1) | Quantity_Shipped |
| WBS | Part_number | Shipping_Date |
| Quantity | ||
| TotalValue | ||
| UnitPrice (useless) |
My idea was to use this measure in Matrix:
Solved! Go to Solution.
@greVia , Multiplication should done at line or you need have common group like order no
revenue= divide(SUM(OrdersRows[TotalValue]),Sumx(values(Order[Order]),calculate(SUM(OrdersRows[Quantity])*SUM(Ordershipped[Quantity_Shipped]))))
refer by the blog for a common level between two tables
I solved the problemi with
@greVia , Multiplication should done at line or you need have common group like order no
revenue= divide(SUM(OrdersRows[TotalValue]),Sumx(values(Order[Order]),calculate(SUM(OrdersRows[Quantity])*SUM(Ordershipped[Quantity_Shipped]))))
refer by the blog for a common level between two tables
I solved the problemi with
I read part of your blog it is so interesting, thanks.
But I have some doubts:
1) Multiplication should done at line" It means that I should create a column? I didn't understand
2)What is common group (I am looking for on internet but I am not finding), if I use this common group then I can use your formula?
Sorry for questions and thanks
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |