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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Guys,
I have 2 tables (Orders,Sales) which both has common field OrderID,
i would like to Multiply Orders table Quatity field and Sales Table Amount field.
TotalSales=Orders.Quantity*Sales.Amount
this Caliculated field i want to add in Sales table.
Can some one guide me Formulae,im new to DAX.
Solved! Go to Solution.
Hi there!
First you need to create a relatonship. Go to Modelling tab, Manage Relationships. Create new one and choose OrderID field.
Then you create a new column, and write something like this:
TotalSales = Sales[Amount]*RELATEDTABLE(Orders; Orders[Quantity])
Should work out, maybe even without a relatedtable thingy.
Hi there!
First you need to create a relatonship. Go to Modelling tab, Manage Relationships. Create new one and choose OrderID field.
Then you create a new column, and write something like this:
TotalSales = Sales[Amount]*RELATEDTABLE(Orders; Orders[Quantity])
Should work out, maybe even without a relatedtable thingy.
it worked as below.
TotalSales = Sales[Amount]*RELATED(Orders[Quantity])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |