You are not logged in.
Dear users of this forum,
we are pleased to inform you that we will be updating the software behind this forum in the near future.
Existing posts, users and categories will remain untouched.
Important:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
Liebe Nutzer dieses Forums,
wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.
Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!
Wichtig:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
Pages: 1
Hello,
I would like to suggest to the user the number of current week as a default parameter.
I have tried setting the "parameter specific properties" as ${today.format("w")} but no success.
Could you please assist ?
Thanks
Alfredo
Offline
Hi aguiral,
try simple quotation: ${today.format('w')} for week in year or ${today.format('W')} for week in month. Check : https://docs.oracle.com/javase/7/docs/a … ormat.html for more information on format strings.
Happy formatting
jan
Offline
Thanks a lot Jan but I'm afraid that it does not work.
Pay attention that my question is about default value for parameters (not for a filter action).
Following your suggestion I found that neither ${today.format('w')} nor using double quotes, expression is being evaluated.
Please check the appearance at this link
https://drive.google.com/file/d/1G5CV33 … sp=sharing
Thanks
Offline
Pages: 1