Forum Discussion

Wouter's avatar
Wouter
Resolver I
10 years ago

Parameter like Today()

Hello,

 

Anyone know if it is possible to set a parameter to ad dynamic funtions like now() or Today() or getdate()

 

See picture

 

 

Thank You

2 Replies

  • ankitpatira's avatar
    ankitpatira
    Community Champion
    Wouter I don't think it is possible at this stage but I guess parameters is going to get incremental updates with each release. Perhaps you can post this to Ideas section.
  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Community Support

    Hi Wouter,

     

    Currently, only a static list of Accepted Values (or any value of the expected type) are accepted. We are not able to set query parameter values based on a DAX expression. However, the product team has stated that query parameter will bind the list of Accepted Values for a parameter to the output of another query in the feature. I think this could meet your requirement. For more information, please refer to this article: Deep Dive into Query Parameters and Power BI Templates.

     

    If you have any question, please feel free to ask.

     

    Best Regards,
    Qiuyun Yu