This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
I would like to define a dynamic parameter which I can use in the SQL query to filter a specific date.
I created this query which is generating the correct number I want to use dynamically every day, but cannot use it in the SQL statement.
Any suggestions welcome please.
Thanks
@BLB,
Try concatenating the parameter in the SQL statement:
...SYSDATE + '" & OffsetForLastTuesday & "' and SKULOC...
Proud to be a Super User!
Thanks for the suggestion but now I am getting this error.
@BLB,
Try adding the single quotes in my example. Also, the plus sign after SYSDATE in your original query is missing.
Proud to be a Super User!
I tried all combinations, with ', ", &, on their own and in all combinations an none of them works for me.
@BLB,
Try wrapping the parameter in Text.From. I think the parameter needs to be text in order to concatenate it with text.
Proud to be a Super User!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 25 | |
| 24 | |
| 22 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 49 | |
| 25 | |
| 25 |