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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi.
I'm try to get the duration days from a column with a date and the current date.
I'm use the function
But I have the error
Can you help me please
Solved! Go to Solution.
Hi @Anonymous ,
Please try this:
Duration.Days (DateTime.Date(DateTime.LocalNow()) - [Fecha de apertura])You forgot a parenthesis on DateTime.LocalNow(). 😊
Best Regards,
Eduardo
Hi @Anonymous ,
Please try this:
Duration.Days (DateTime.Date(DateTime.LocalNow()) - [Fecha de apertura])You forgot a parenthesis on DateTime.LocalNow(). 😊
Best Regards,
Eduardo
Excelent, it's done.
Thanks
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 102 | |
| 39 | |
| 29 | |
| 29 |