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

[feature] allow .xlsx file in Write-RsFolderContent #221

Open
antoineva33 opened this issue Feb 11, 2019 · 1 comment
Open

[feature] allow .xlsx file in Write-RsFolderContent #221

antoineva33 opened this issue Feb 11, 2019 · 1 comment

Comments

@antoineva33
Copy link

I try to upload .ssrs files and .xlsx files to powerbi RS with ReportingServicesTools.

.SSRS is ok But i can't upload .xlsx files.

There is another way to Upload Excel file ?

Thanks.

@antoineva33
Copy link
Author

Workaround ;
$reports = Get-ChildItem -Path $LocalPath -Recurse -Include ".pbix",".xlsx";

#Loop through selected reports
ForEach ($report in $reports)
{
#Get the report folder from source control path
$reportFolder = Split-Path -Path "$($report.Directory)" -Leaf

#Deploy the report to the server
Write-RsRestCatalogItem -Path $report.FullName -RsFolder "/$($reportFolder)" - Overwrite -WebSession $session;
}

Source : https://www.blue-granite.com/blog/power-bi-report-server-devops

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants