The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have a sql query that uses the following formula:
Datepart(Datetime()) - Datepart(table.column_name) as Date_age
what would be the equivalent of this in Power Query?
Solved! Go to Solution.
@Anonymous ,
Power Query - https://learn.microsoft.com/en-us/powerquery-m/duration-days
DAX - https://learn.microsoft.com/en-us/dax/datediff-function-dax
@Anonymous ,
Power Query - https://learn.microsoft.com/en-us/powerquery-m/duration-days
DAX - https://learn.microsoft.com/en-us/dax/datediff-function-dax
User | Count |
---|---|
69 | |
68 | |
65 | |
54 | |
28 |
User | Count |
---|---|
112 | |
82 | |
65 | |
48 | |
43 |