This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hello,
I have two tables, Orders and Kit Cost Breakdown, that appear below:
Where a the Product Type in the Orders table is "Kit", I need to calculate the gross sales per Kit Comp ID in the Kit Cost Breakdown table. The last column in the Kit Cost Breakdown table is the expected result I am trying to calculate. If the Product Type in the Orders table is "Stock", then there is no further calculation needed for the Gross Sales $. I need to be able to report the Gross Sales $ per Kit Comp ID in the Kit Cost Breakdown Table.
Thanks!
Solved! Go to Solution.
@Anonymous
maybe you can create a column
Column = if(RELATED('Order'[Product Type])="Stock",RELATED('Order'[Gross Sales]),RELATED('Order'[Gross Sales])*Kit[Comp% of Cost])
pls see the attachment below
Proud to be a Super User!
@Anonymous
maybe you can create a column
Column = if(RELATED('Order'[Product Type])="Stock",RELATED('Order'[Gross Sales]),RELATED('Order'[Gross Sales])*Kit[Comp% of Cost])
pls see the attachment below
Proud to be a Super User!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 21 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 43 | |
| 26 | |
| 24 |