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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 36 | |
| 32 | |
| 31 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |