The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
How do I add a custom column which contains a calculated today's date?
Solved! Go to Solution.
Date.From(DateTime.LocalNow())
When I do this all that turns up in my new Custum Column is "Function" and no dates☹️
You are actually referencing the function rather than invoking it currently. You could even drill into your column now and see the metadata for the function.
To invoke the function, which is what you want, add the parentheses at the end: instead of "each DateTime.LocalNow", use "each DateTime.LocalNow()"
Hello MarkLaf,
Thank you for your help. I'm a newbie, just getting started and have a long way to go (as you can tell). M worked perfectly.
Tim