Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am the new user of PowerBi and working with a dataset, where I have two different dates are in two columns. I would like subtract between those dates and get number of days. Please advise.
Regards
Samik
Hey,
here you will find a little description of the DAX function
DATEDIFF(...): https://msdn.microsoft.com/en-us/query-bi/dax/datediff-function-dax
and here you will find how to create a calculated column
https://docs.microsoft.com/en-us/power-bi/desktop-tutorial-create-calculated-columns
Regards,
Tom
DATEDIFF doesn't work, it comes "Error" in the new column
No there is no null value. Syntax is pasted below
= Table.AddColumn(#"Removed Columns1", "Overdue", each DATEDIFF[Date2][Schedule status])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |