Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicated rows invalidates file #77

Open
Kmdkca opened this issue Jun 11, 2019 · 0 comments
Open

duplicated rows invalidates file #77

Kmdkca opened this issue Jun 11, 2019 · 0 comments

Comments

@Kmdkca
Copy link

Kmdkca commented Jun 11, 2019

If a sheet contains multiple rows with the same name, the Add-PivotTable invalidates the output file even that the columns are not used.
repro step:
Add a sheet with the two columns named the same.
New-Excel -Path C:\temp\test.xlsx | Add-PivotTable -WorkSheetName cases -PivotTableWorksheetName PT -PivotRows "col2" -Verbose -Passthru | Save-Excel -Path C:\Temp\outtest.xlsx
open outtest.xlsx in excel and it will try repair it

@Kmdkca Kmdkca changed the title duplicated rows invalides file duplicated rows invalidates file Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant