Forum Discussion
Mmaria
9 years agoNew Member
Set parameter = DateTime.LocalNow()
Hello! Is there any way to set a parameter as a function? I want to set a parameter as today like this: DateTime.LocalNow(). As a default I want it to be today's date but I also want to be able...
franck_axires
7 years agoFrequent Visitor
Hi you all M Gurus out there...
Has anyone managed to pass a DateTime.LocalNow() value as a parameter default ?
I'm trying it right now with the latest version of PBI Desktop but it seems the value is still interpreted as a String in the parameter editor.
Any clues ?
Best,
Franck