Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Pivot 104 - Error Duplicate pivot key

$
0
0

Greetings,

I currently have a table with the following columns that looks something like this: (Real data consists of more than a hundred thousand records)

I'm trying to pivot the data into something that looks like this:

So far, I've tried to pivot the data using SSIS Pivot transform and sorting on Market.

However, I get the following error:

---

[SSIS.Pipeline] Information: Execute phase is beginning.

[Pivot [104]] Error: Duplicate pivot key value "3/31/2015".

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Pivot" (104) failed with error code 0xC02020CF while processing input "Pivot Default Input" (106). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Sort" (145) failed with error code 0xC0047020 while processing input "Sort Input" (148). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.

---

Any help to resolve this issue will be greatly appreciated.

Thank you in advance.

Jeannette


Viewing all articles
Browse latest Browse all 24688


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>