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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DiePic
Resolver II
Resolver II

Enter dinamic date when opening Report

Hi all

I have a query on a sql db with more than 2 million rows.
I'd like to reduce the update time in my report by asking for an update start date when opening the file... is this possible?

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @DiePic,

AFAIK, the common power bi report seems not support these features. You can try to parametrize your connection string with query parameter and use it to create a template. It will ask you to input the parameter when you open the template file.

Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power B...

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @DiePic,

AFAIK, the common power bi report seems not support these features. You can try to parametrize your connection string with query parameter and use it to create a template. It will ask you to input the parameter when you open the template file.

Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power B...

Regards,

Xiaoxin Sheng

DiePic
Resolver II
Resolver II

Any help or ideas will be appreciated.

thanx in advance

Hi @DiePic ,

 

Have you tried using the relative date filters in Power Query? Below sample is filtered to include the previous 12 months only relative to the current date

danextian_0-1677731239340.png

danextian_1-1677731318453.png

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.