Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
i m doing calcultion btween today date and columns date and used this function and getting error
Duration.Days(DateTime.LocalNow()-[Opreation Date])
any on can help me on this
Solved! Go to Solution.
Duration.Days([Opreation Date]-Date.From(DateTime.LocalNow()))
now its work i used this method and its work
@SkorpionAAM , what is the error you are getting, the other option can be
Duration.Days(DateTime.Date(DateTime.LocalNow())-[Opreation Date])
Hope you are doing it power Query(M) in edit query mode
Duration.Days([Opreation Date]-Date.From(DateTime.LocalNow()))
now its work i used this method and its work
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
68 | |
64 | |
51 | |
39 | |
26 |
User | Count |
---|---|
80 | |
57 | |
45 | |
44 | |
35 |