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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Dynamic parameter, automatic update based on today's date

Hi, 

 

Is it possible to make a parameter value change automatically based on date criterias maintained in a separate list?

 

criteriaparameter value
<5/15/20214/1/2021
<6/15/20215/1/2021

 

The parameter value would be dependant on today's date. 

If todays's date is before 5/15/2021 the parameter value is 4/1/2021 and when today's date changes to 6/15/2021 the parameter value changes to 5/1/2021.

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

Sounds like you want the most recent 45 days. You may refer to my recent blog:
Dynamically Display the Most Recent N Days using P... - Microsoft Power BI Community

 


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @Anonymous 

Thanks for your reply, it was however not the solution I was aiming for.

 

For each month I want to replace the forecast numbers in my data with actual numbers on the dates given in the list. I do this by changing the parameter value each month via Edit Parameter, but I was hoping for solution that the Parameter automatically can retrieve the correct value based on today's date.

 

Br,

 

Chris    

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.