Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
GuillemCaceres
New Member

Data parameter on Paginated report file title.

We have just implemented the paginated report solution for our users who wanted to receive an extraction every day, and they are delighted with the result.

 

However, they want the name of the excel file they receive not to be always the same and to to avoid being overwritten when downloading.
Is it possible to add a current date parameter to the file name?

This is very useful and something that users are requesting a lot.

 

Thank you very much!

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @GuillemCaceres 

Sadly this isn't (to my knowledge) an available feature. There is a Power BI idea for it here:
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=677c1dad-4793-ee11-a81c-6045bdba0236

 

The only way currently would be to embedd the Paginated Report within a Power BI report and then have a button that exports the data using a Power Automate flow.

This isn't a 1 to 1 but includes most of the steps:
https://pbi-guy.com/2023/02/03/export-paginated-reports-automatically-in-a-low-code-way-without-powe...


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

4 REPLIES 4
aduguid
Super User
Super User

You could use a PowerShell script to run on Windows Task Scheduler on the server. Here's an example that saves the file. I'd set the task up under a service account.

 

<#
    Description: Weekly Performance Summary
    Purpose: To export reports from SQL Server Reporting Services.
#>

Try
{ 
    $dateTimeFormat = 'yyyyMMdd';
    $executeStart = Get-Date
    $executeStart = $executeStart.ToString($dateTimeFormat)
    $exportPath = 'C:\Temp\';
    $ssrsPath = 'https://YourReportServer/ReportServer/Pages/ReportViewer.aspx?%2fFinance/Weekly%20Performance%20Report';
    $ssrsFileName = $ssrsPath.split('/')[-1] -replace '%20', ' ';
    $ssrsFile = $exportPath + $ssrsFileName + $dateTimeFormat + '.pdf';
    $ssrsFilePdf = $ssrsPath + '&rs:Format=EXCELOPENXML'
    (Invoke-WebRequest -Uri $ssrsFilePdf -OutFile $ssrsFile -UseDefaultCredentials -TimeoutSec 60);
}

 

 

GuillemCaceres
New Member

Hello @SamWiseOwl 

Thank for your reply!

It is so bad to don't have integrated an easy option like meanwhile other tool have it.

Which is the best place to make a request to Microsoft developers to think on this requirements for the next PowerBI updates?

 

Thanks!

Comment and vote on the suggested idea. The more people vote for it the more likely they might do it:
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=677c1dad-4793-ee11-a81c-6045bdba0236


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

SamWiseOwl
Super User
Super User

Hi @GuillemCaceres 

Sadly this isn't (to my knowledge) an available feature. There is a Power BI idea for it here:
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=677c1dad-4793-ee11-a81c-6045bdba0236

 

The only way currently would be to embedd the Paginated Report within a Power BI report and then have a button that exports the data using a Power Automate flow.

This isn't a 1 to 1 but includes most of the steps:
https://pbi-guy.com/2023/02/03/export-paginated-reports-automatically-in-a-low-code-way-without-powe...


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.