Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
i think it is a simple question :
Hwo can i multiple two different columns (cost * sales_quanity) from two different tables:
table1
item cost
4711 99,90
table2
item sales_quantity
4711 300,00
Cost-gross= ???????
Best regards
PIET
Solved! Go to Solution.
Hi @Piet,
That's should be easy if you could create a relationship between the two tables.
Have you solved the problem with the answers from @quentin_vigne and @alexei7?
If you have solved, only thing that you'll have to notice, just always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please feel free to ask.
Best Regards,
Cherry
it works.
thanks a lot
Piet
Hi @Piet,
That's should be easy if you could create a relationship between the two tables.
Have you solved the problem with the answers from @quentin_vigne and @alexei7?
If you have solved, only thing that you'll have to notice, just always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please feel free to ask.
Best Regards,
Cherry
Hi @Piet
If there is a joint between your 2 tables the formula will be :
Cost-gross = table1[cost] * table2[sales_quantity]
- Quentin
Hi Piet,
Yes this should be quite simple. If in the relationships view of Power BI desktop you check that table1 is joined to table2.
Then you can create your formula ("cost * sales_quantity").
When you create your table make sure you bring in the "item" field from table1.
Thanks
Alex
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
69 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
87 | |
49 | |
45 | |
38 | |
37 |