Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all,
New to PowerBI but long time excel user - I am trying to create a custom column that returns todays date if the value in another column in null, and if not, returning a different date. The whole formula is working except for the todays date function (where I instead change this to a text return the whole thing works). I've tried representing it in multiple ways but to no success . Below is the current formula in PowerBI with the returning error.
Any help would be really appreciated!!
Many thanks,
Lucy
Solved! Go to Solution.
Thank you so much, I had tried to use datetime.localnow before but failed to realise I needed the () after! This works perfectly now.
Thank you so much, I had tried to use datetime.localnow before but failed to realise I needed the () after! This works perfectly now.
#if you need a date use Date.From()
Date.From(DateTime.LocalNow())
You should use this instad of TODAY()
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
13 | |
7 | |
5 |