Forum Discussion
VFXPro
7 years agoAdvocate II
Simple calculated Date field using IF is not working...
I'm simply trying to get a date value calculated using a column depending on a condition, but it doesnt' work, what I am missing? Calculated Due Date: If the contract is digital then use the (e...
- 7 years ago
Hi VFXPro
If you are using the Power Query Editor, then you can add a custom column using this formula. For something like this it doesn't really matter if you create it in M (Power Query) or DAX (Power BI Desktop)
if [Format] = "Digital" then Date.AddDays([ReceivedDate],7) else Date.AddDays([EndDate],7)
Phil_Seamark
7 years agoMicrosoft Employee
Hi VFXPro
If you are using the Power Query Editor, then you can add a custom column using this formula. For something like this it doesn't really matter if you create it in M (Power Query) or DAX (Power BI Desktop)
if [Format] = "Digital" then Date.AddDays([ReceivedDate],7) else Date.AddDays([EndDate],7)
VFXPro
7 years agoAdvocate II
Thanks Phil_Seamark
This is very valuable guidance... Thank you very much for your kindness and sharing your knowledge.