Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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()
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |