DAX to Create Unique column to lookup in table

snky1233344

New Member
Joined
Dec 2, 2015
Messages
1
Hi Team,






We have below table structure:-


Date Buyer Seller Quantity Price


1/1/2015 ABC BCD 100 10.9


1/2/2015 BCD PQR 100 10.7


...


We need unique list of companies i.e Buyer and Seller with their respective quantities bought and sold by date.


Output required is:-


Date Company Quantity_bought Quantity_sold Price


1/1/2015 ABC 100 0 10.9


1/1/2015 BCD 0 100 10.9


1/2/2015 BCD 100 0 10.7


1/2/2015 PQR 0 100 10.7






Any help in above will be really appreciated.






Thanks,


Sanket


(Excel Analyst)
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,224,163
Messages
6,176,812
Members
452,744
Latest member
Alleo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top