Extracting Unique values into another powerpivot window

masplin

Active Member
Joined
May 10, 2010
Messages
413
Wondering if there is any way to do this. I've been given a sheet of transactions with the customer name on every line i.e. they are duplicated thorughout. What I want is a table of unique customer names. The simple way to do this is create a pivot table with cusomtername as a row field and then copy paste the result into a n excel sheet and then link it back to powerpivot. However this isn't dynamic so wondering if there is anyway to dynamically extract a column of unique values form a table of duplicated values?

Thanks

Mike
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Excel 2013 has the option to do this, using a DAX query as the source of an Excel table that you can then link back to PowerPivot. It works very well and will perform automatic refresh.
In PowerPivot 2010, this is harder. You can create your PivotTable, copy its content inside another table using Excel formulas and link back the Excel table.
I blogged something related to this in the past here: Alberto Ferrari : Dynamic Ranking with Excel and PowerPivot.
There, I spoke about ranking, but you can use the same technique to do distinct.
Keep in mind that, with this approach, you will need a two-step calculation of the workbook: once to compute the PivotTable and then once again to refresh your linked table.

Alberto
SQLBI
 
Upvote 0
The second method was what I had in mind but just wanted ot be sure there wasnt another way. Thanks
 
Upvote 0

Forum statistics

Threads
1,223,935
Messages
6,175,496
Members
452,649
Latest member
mr_bhavesh

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