Forum Discussion
sroychou
8 years agoRegular Visitor
Subtract Two Columns - New BI user
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. ...
TomMartens
Super User
8 years agoHey,
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