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.
User | Count |
---|---|
72 | |
72 | |
38 | |
30 | |
26 |