Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
Two tables I have, One is monthly product sold table and the other is U/price master table. I would like to get the unit price form Price master table and get the total amount of sold. How to match the price by cusomer and poruct?
Monthly sold table
Price Master table
What I would like to see:
Thanks.
Solved! Go to Solution.
Hi @bluetronics
Is this not quite similar to what we solved not long ago?
Please always show your sample data in tabular-text format in addition to (or instead of) the screen captures. That allows people trying to help to readily copy the data.
If you want to create a new table, try this:
ResultTable = ADDCOLUMNS ( ADDCOLUMNS ( MonthlySalesTable; "Unit price"; LOOKUPVALUE ( PriceTable[Sales price]; PriceTable[Customer]; [Customer]; PriceTable[Product]; [Product] ) ); "Sold total"; [Price] * [Qty] )
Hi @bluetronics
Is this not quite similar to what we solved not long ago?
Please always show your sample data in tabular-text format in addition to (or instead of) the screen captures. That allows people trying to help to readily copy the data.
If you want to create a new table, try this:
ResultTable = ADDCOLUMNS ( ADDCOLUMNS ( MonthlySalesTable; "Unit price"; LOOKUPVALUE ( PriceTable[Sales price]; PriceTable[Customer]; [Customer]; PriceTable[Product]; [Product] ) ); "Sold total"; [Price] * [Qty] )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |